#4E66E5#4E66E5
#4E66E5 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.194 H 270.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4E66E5 |
|---|---|
| RGB | rgb(78, 102, 229) |
| HSL | hsl(230, 74%, 60%) |
| HSV | hsv(230, 66%, 90%) |
| CMYK | cmyk(65.9%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.98, 31.37, -67.25) |
| CIE-LCH | lch(47.98, 74.21, 295.01°) |
| OKLab | oklab(56.36% 0.0028 -0.1935) |
| OKLCH | oklch(56.36% 0.194 270.8) |
| XYZ | xyz(22.0313, 16.7775, 76.1909) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.38
Cornflower Blue
#5170D7
ΔE00 3.87
Bright Blue
#0165FC
ΔE00 4.30
Azul
#1D5DEC
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 5.04
Dark Periwinkle
#665FD1
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E66E5 #E5CD4E
analogous
#4EB1E5 #4E66E5 #824EE5
triadic
#4E66E5 #E54E66 #66E54E
tetradic
#4E66E5 #E54EB1 #E5CD4E #4EE582
square
#4E66E5 #E54EB1 #E5CD4E #4EE582
split-complementary
#4E66E5 #E5824E #B1E54E
monochromatic
#182DA1 #1F3DD6 #4E66E5 #8394ED #B9C2F5
Accessibility & contrast
On white
4.82
#4E66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#4E66E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E66E5
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E66E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E66E5 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4e66e5; /* rgb */ color: rgb(78, 102, 229); /* oklch */ color: oklch(56.4% 0.194 270.8);
Tailwind
colors: {
custom: {
50: '#9091ee',
500: '#4e66e5',
950: '#000000',
},
}SCSS
$custom: #4e66e5; $custom-light: #9091ee; $custom-dark: #000000;
JSON
{
"hex": "#4e66e5",
"rgb": {
"r": 78,
"g": 102,
"b": 229
},
"hsl": {
"h": 230.464,
"s": 74.384,
"l": 60.196
},
"oklch": {
"l": 0.56357,
"c": 0.1935,
"h": 270.8
},
"luminance": 0.1678
}Semantic roles & 50–950 ramp
primary
#4E66E5
secondary
#E4DBAA
accent
#B70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84