#4E66E2#4E66E2
#4E66E2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.190 H 270.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4E66E2 |
|---|---|
| RGB | rgb(78, 102, 226) |
| HSL | hsl(230, 72%, 60%) |
| HSV | hsv(230, 65%, 89%) |
| CMYK | cmyk(65.5%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(47.77, 30.34, -65.90) |
| CIE-LCH | lch(47.77, 72.55, 294.72°) |
| OKLab | oklab(56.13% 0.0026 -0.1895) |
| OKLCH | oklch(56.13% 0.19 270.8) |
| XYZ | xyz(21.6161, 16.6114, 74.0039) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.24
Cornflower Blue
#5170D7
ΔE00 3.72
Azul
#1D5DEC
ΔE00 4.33
Bright Blue
#0165FC
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E66E2 #E2CA4E
analogous
#4EB0E2 #4E66E2 #804EE2
triadic
#4E66E2 #E24E66 #66E24E
tetradic
#4E66E2 #E24EB0 #E2CA4E #4EE280
square
#4E66E2 #E24EB0 #E2CA4E #4EE280
split-complementary
#4E66E2 #E2804E #B0E24E
monochromatic
#1A2F9C #223ED1 #4E66E2 #8393EB #B7C1F3
Accessibility & contrast
On white
4.86
#4E66E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#4E66E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E66E2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E66E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E66E2 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4e66e2; /* rgb */ color: rgb(78, 102, 226); /* oklch */ color: oklch(56.1% 0.190 270.8);
Tailwind
colors: {
custom: {
50: '#8f91ec',
500: '#4e66e2',
950: '#000000',
},
}SCSS
$custom: #4e66e2; $custom-light: #8f91ec; $custom-dark: #000000;
JSON
{
"hex": "#4e66e2",
"rgb": {
"r": 78,
"g": 102,
"b": 226
},
"hsl": {
"h": 230.27,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.56131,
"c": 0.18953,
"h": 270.8
},
"luminance": 0.16613
}Semantic roles & 50–950 ramp
primary
#4E66E2
secondary
#E3D9A9
accent
#D139EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84