#4E66DF#4E66DF
#4E66DF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.186 H 270.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E66DF |
|---|---|
| RGB | rgb(78, 102, 223) |
| HSL | hsl(230, 69%, 59%) |
| HSV | hsv(230, 65%, 87%) |
| CMYK | cmyk(65%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(47.56, 29.31, -64.54) |
| CIE-LCH | lch(47.56, 70.89, 294.43°) |
| OKLab | oklab(55.91% 0.0025 -0.1855) |
| OKLCH | oklch(55.91% 0.186 270.8) |
| XYZ | xyz(21.2080, 16.4482, 71.8549) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.16
Cornflower Blue
#5170D7
ΔE00 3.61
Azul
#1D5DEC
ΔE00 4.33
Bright Blue
#0165FC
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 4.89
Dark Periwinkle
#665FD1
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E66DF #DFC74E
analogous
#4EAFDF #4E66DF #7F4EDF
triadic
#4E66DF #DF4E66 #66DF4E
tetradic
#4E66DF #DF4EAF #DFC74E #4EDF7F
square
#4E66DF #DF4EAF #DFC74E #4EDF7F
split-complementary
#4E66DF #DF7F4E #AFDF4E
monochromatic
#1B3097 #2540CB #4E66DF #8293E8 #B6C0F2
Accessibility & contrast
On white
4.90
#4E66DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4E66DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E66DF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E66DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E66DF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0178E3
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4e66df; /* rgb */ color: rgb(78, 102, 223); /* oklch */ color: oklch(55.9% 0.186 270.8);
Tailwind
colors: {
custom: {
50: '#8e91ea',
500: '#4e66df',
950: '#000000',
},
}SCSS
$custom: #4e66df; $custom-light: #8e91ea; $custom-dark: #000000;
JSON
{
"hex": "#4e66df",
"rgb": {
"r": 78,
"g": 102,
"b": 223
},
"hsl": {
"h": 230.069,
"s": 69.378,
"l": 59.02
},
"oklch": {
"l": 0.55908,
"c": 0.18554,
"h": 270.8
},
"luminance": 0.1645
}Semantic roles & 50–950 ramp
primary
#4E66DF
secondary
#E1D7A8
accent
#CF3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84