#4166E0#4166E0
#4166E0 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.191 H 267.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4166E0 |
|---|---|
| RGB | rgb(65, 102, 224) |
| HSL | hsl(226, 72%, 57%) |
| HSV | hsv(226, 71%, 88%) |
| CMYK | cmyk(71%, 54.5%, 0%, 12.2%) |
| CIE-LAB | lab(46.98, 27.80, -66.07) |
| CIE-LCH | lch(46.98, 71.68, 292.82°) |
| OKLab | oklab(55.32% -0.0095 -0.1903) |
| OKLCH | oklch(55.32% 0.191 267.1) |
| XYZ | xyz(20.3812, 16.0063, 72.5220) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.06
Azul
#1D5DEC
ΔE00 3.39
Bright Blue
#0165FC
ΔE00 3.44
Cornflower Blue
#5170D7
ΔE00 3.61
Cerulean Blue
#056EEE
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166E0 #E0BB41
analogous
#41B6E0 #4166E0 #6C41E0
triadic
#4166E0 #E04166 #66E041
tetradic
#4166E0 #E041B6 #E0BB41 #41E06C
square
#4166E0 #E041B6 #E0BB41 #41E06C
split-complementary
#4166E0 #E06C41 #B6E041
monochromatic
#17338F #2046C4 #4166E0 #7690E9 #AABBF1
Accessibility & contrast
On white
5.00
#4166E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#4166E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166E0
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166E0 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4166e0; /* rgb */ color: rgb(65, 102, 224); /* oklch */ color: oklch(55.3% 0.191 267.1);
Tailwind
colors: {
custom: {
50: '#8991ea',
500: '#4166e0',
950: '#000000',
},
}SCSS
$custom: #4166e0; $custom-light: #8991ea; $custom-dark: #000000;
JSON
{
"hex": "#4166e0",
"rgb": {
"r": 65,
"g": 102,
"b": 224
},
"hsl": {
"h": 226.038,
"s": 71.946,
"l": 56.667
},
"oklch": {
"l": 0.55324,
"c": 0.19052,
"h": 267.1
},
"luminance": 0.16008
}Semantic roles & 50–950 ramp
primary
#4166E0
secondary
#DFD09E
accent
#C439EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84