#4E66D1#4E66D1
#4E66D1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.167 H 270.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E66D1 |
|---|---|
| RGB | rgb(78, 102, 209) |
| HSL | hsl(229, 59%, 56%) |
| HSV | hsv(229, 63%, 82%) |
| CMYK | cmyk(62.7%, 51.2%, 0%, 18%) |
| CIE-LAB | lab(46.61, 24.51, -58.11) |
| CIE-LCH | lch(46.61, 63.06, 292.87°) |
| OKLab | oklab(54.89% 0.0015 -0.1666) |
| OKLCH | oklch(54.89% 0.167 270.5) |
| XYZ | xyz(19.3980, 15.7242, 62.3221) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.67
Cornflower Blue
#5170D7
ΔE00 3.58
Azul
#1D5DEC
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.27
Bright Blue
#0165FC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E66D1 #D1B94E
analogous
#4EA8D1 #4E66D1 #784ED1
triadic
#4E66D1 #D14E66 #66D14E
tetradic
#4E66D1 #D14EA8 #D1B94E #4ED178
square
#4E66D1 #D14EA8 #D1B94E #4ED178
split-complementary
#4E66D1 #D1784E #A8D14E
monochromatic
#223483 #2F47B3 #4E66D1 #7F90DE #AFBAEA
Accessibility & contrast
On white
5.07
#4E66D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#4E66D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E66D1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E66D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E66D1 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2875D5
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4e66d1; /* rgb */ color: rgb(78, 102, 209); /* oklch */ color: oklch(54.9% 0.167 270.5);
Tailwind
colors: {
custom: {
50: '#8c91e0',
500: '#4e66d1',
950: '#000000',
},
}SCSS
$custom: #4e66d1; $custom-light: #8c91e0; $custom-dark: #000000;
JSON
{
"hex": "#4e66d1",
"rgb": {
"r": 78,
"g": 102,
"b": 209
},
"hsl": {
"h": 229.008,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.54893,
"c": 0.16659,
"h": 270.5
},
"luminance": 0.15726
}Semantic roles & 50–950 ramp
primary
#4E66D1
secondary
#D8CEA2
accent
#C546E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83