#4E5FD9#4E5FD9
#4E5FD9 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.186 H 272.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FD9 |
|---|---|
| RGB | rgb(78, 95, 217) |
| HSL | hsl(233, 65%, 58%) |
| HSV | hsv(233, 64%, 85%) |
| CMYK | cmyk(64.1%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(45.38, 31.62, -64.67) |
| CIE-LCH | lch(45.38, 71.99, 296.06°) |
| OKLab | oklab(54.14% 0.0084 -0.186) |
| OKLCH | oklch(54.14% 0.186 272.6) |
| XYZ | xyz(19.7543, 14.8121, 67.4502) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Dark Periwinkle
#665FD1
ΔE00 3.98
Azul
#1D5DEC
ΔE00 4.04
Royal Blue
#4169E1
ΔE00 4.20
Iris
#6258C4
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FD9 #D9C84E
analogous
#4EA4D9 #4E5FD9 #824ED9
triadic
#4E5FD9 #D94E5F #5FD94E
tetradic
#4E5FD9 #D94EA4 #D9C84E #4ED982
square
#4E5FD9 #D94EA4 #D9C84E #4ED982
split-complementary
#4E5FD9 #D9824E #A4D94E
monochromatic
#1F2C8E #293CC0 #4E5FD9 #808DE4 #B3BAEF
Accessibility & contrast
On white
5.30
#4E5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#4E5FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FD9
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FD9 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4e5fd9; /* rgb */ color: rgb(78, 95, 217); /* oklch */ color: oklch(54.1% 0.186 272.6);
Tailwind
colors: {
custom: {
50: '#8e8ce6',
500: '#4e5fd9',
950: '#000000',
},
}SCSS
$custom: #4e5fd9; $custom-light: #8e8ce6; $custom-dark: #000000;
JSON
{
"hex": "#4e5fd9",
"rgb": {
"r": 78,
"g": 95,
"b": 217
},
"hsl": {
"h": 232.662,
"s": 64.651,
"l": 57.843
},
"oklch": {
"l": 0.54141,
"c": 0.18617,
"h": 272.6
},
"luminance": 0.14814
}Semantic roles & 50–950 ramp
primary
#4E5FD9
secondary
#DDD6A6
accent
#D340E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84