Skip to content

#4166F5 Color

#4166F5 is rgb(65, 102, 245) in RGB, hsl(228, 90%, 61%) in HSL, and about cmyk(73%, 58%, 0%, 4%) in CMYK. The closest CSS named color is RoyalBlue (#4169E1). White text is the more readable choice on this background.

#4166F5
HEX#4166F5
RGBrgb(65, 102, 245)
HSLhsl(228, 90%, 61%)
HSVhsv(228, 73%, 96%)
CMYKcmyk(73%, 58%, 0%, 4%)
OKLCHoklch(57% 0.218 267.7)
LABlab(47.28% 25.58 -77.08)
LCHlch(47.28% 81.21 288.36)

#4166F5 Channel Values

How #4166F5 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 65 · G 102 · B 2458-bit channels as sent to the display
HSLH 228° · S 90% · L 61%Easiest model for building lighter and darker variants
HSVH 228° · S 73% · V 96%Matches the picker in most design tools
CMYKC 73% · M 58% · Y 0% · K 4%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.73:1 vs white · 4.44:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #4166F5 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text4.73:1AA normal AA large AAA normal
TextBlack text4.44:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #4166F5 in the contrast checker.

Colors That Go With #4166F5

Pairings derived from color-wheel relationships. The complementary color sits opposite #4166F5; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #4166F5

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #4166F5.

How #4166F5 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#4166F5
Protanopia#6161F5
Protanomaly#5663F5
Deuteranopia#5C5CF5
Deuteranomaly#5260F5
Tritanopia#008484
Tritanomaly#0079BC
Achromatopsia#737373

Test a full palette in the color blindness simulator.

Using #4166F5 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-4166f5: #4166F5;
CSS backgroundbackground-color: #4166F5;
Tailwind configcolors: { 'color-4166f5': '#4166F5' }
SwiftUIColor(red: 0.255, green: 0.400, blue: 0.961)
Android XML<color name="color_4166f5">#4166F5</color>
SVG fillfill="#4166F5"

#4166F5 Frequently Asked Questions

What is the RGB value of #4166F5?

#4166F5 is rgb(65, 102, 245) — red 65, green 102, and blue 245 on the 0-255 scale.

What is the CMYK value of #4166F5?

#4166F5 converts to approximately cmyk(73%, 58%, 0%, 4%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #4166F5 be black or white?

White text is the more readable choice. #4166F5 scores 4.73:1 against white and 4.44:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Does #4166F5 have a color name?

#4166F5 is not one of the 140 CSS named colors. The closest named color is RoyalBlue (#4169E1), at a CIE76 distance of 13, so the two are visibly similar.

Open #4166F5 in a Tool

#4166F5 sits in the blue family — browse every shade of blue with hex codes, or return to the full color library.