#4166E5#4166E5
#4166E5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.197 H 267.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4166E5 |
|---|---|
| RGB | rgb(65, 102, 229) |
| HSL | hsl(226, 76%, 58%) |
| HSV | hsv(226, 72%, 90%) |
| CMYK | cmyk(71.6%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.34, 29.58, -68.31) |
| CIE-LCH | lch(47.34, 74.44, 293.41°) |
| OKLab | oklab(55.71% -0.0093 -0.1969) |
| OKLCH | oklch(55.71% 0.197 267.3) |
| XYZ | xyz(21.0693, 16.2815, 76.1458) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.20
Bright Blue
#0165FC
ΔE00 3.11
Azul
#1D5DEC
ΔE00 3.36
Cornflower Blue
#5170D7
ΔE00 3.74
Cerulean Blue
#056EEE
ΔE00 4.93
Warm Blue
#4B57DB
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166E5 #E5C041
analogous
#41B8E5 #4166E5 #6E41E5
triadic
#4166E5 #E54166 #66E541
tetradic
#4166E5 #E541B8 #E5C041 #41E56E
square
#4166E5 #E541B8 #E5C041 #41E56E
split-complementary
#4166E5 #E56E41 #B8E541
monochromatic
#153297 #1C44CD #4166E5 #7791EC #ADBDF4
Accessibility & contrast
On white
4.93
#4166E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4166E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166E5
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166E5 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4166e5; /* rgb */ color: rgb(65, 102, 229); /* oklch */ color: oklch(55.7% 0.197 267.3);
Tailwind
colors: {
custom: {
50: '#8a91ee',
500: '#4166e5',
950: '#000000',
},
}SCSS
$custom: #4166e5; $custom-light: #8a91ee; $custom-dark: #000000;
JSON
{
"hex": "#4166e5",
"rgb": {
"r": 65,
"g": 102,
"b": 229
},
"hsl": {
"h": 226.463,
"s": 75.926,
"l": 57.647
},
"oklch": {
"l": 0.55707,
"c": 0.1971,
"h": 267.3
},
"luminance": 0.16284
}Semantic roles & 50–950 ramp
primary
#4166E5
secondary
#E2D3A0
accent
#C835F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84