#4E54D0#4E54D0
#4E54D0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.188 H 275.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54D0 |
|---|---|
| RGB | rgb(78, 84, 208) |
| HSL | hsl(237, 58%, 56%) |
| HSV | hsv(237, 63%, 82%) |
| CMYK | cmyk(62.5%, 59.6%, 0%, 18.4%) |
| CIE-LAB | lab(42.02, 35.41, -64.97) |
| CIE-LCH | lch(42.02, 73.99, 298.59°) |
| OKLab | oklab(51.44% 0.018 -0.187) |
| OKLCH | oklch(51.44% 0.188 275.5) |
| XYZ | xyz(17.6937, 12.5130, 61.1451) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.76
Iris
#6258C4
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.71
Dark Periwinkle
#665FD1
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 5.21
Electric Blue
#0652FF
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54D0 #D0CA4E
analogous
#4E95D0 #4E54D0 #894ED0
triadic
#4E54D0 #D04E54 #54D04E
tetradic
#4E54D0 #D04E95 #D0CA4E #4ED089
square
#4E54D0 #D04E95 #D0CA4E #4ED089
split-complementary
#4E54D0 #D0894E #95D04E
monochromatic
#222781 #2F35B2 #4E54D0 #7E83DD #AFB1EA
Accessibility & contrast
On white
6.00
#4E54D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4E54D0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54D0
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54D0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54D0 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4e54d0; /* rgb */ color: rgb(78, 84, 208); /* oklch */ color: oklch(51.4% 0.188 275.5);
Tailwind
colors: {
custom: {
50: '#8d84df',
500: '#4e54d0',
950: '#000000',
},
}SCSS
$custom: #4e54d0; $custom-light: #8d84df; $custom-dark: #000000;
JSON
{
"hex": "#4e54d0",
"rgb": {
"r": 78,
"g": 84,
"b": 208
},
"hsl": {
"h": 237.231,
"s": 58.036,
"l": 56.078
},
"oklch": {
"l": 0.51439,
"c": 0.18782,
"h": 275.5
},
"luminance": 0.12514
}Semantic roles & 50–950 ramp
primary
#4E54D0
secondary
#D8D5A2
accent
#DA47E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83