#4E54BB#4E54BB
#4E54BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.159 H 276.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54BB |
|---|---|
| RGB | rgb(78, 84, 187) |
| HSL | hsl(237, 44%, 52%) |
| HSV | hsv(237, 58%, 73%) |
| CMYK | cmyk(58.3%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.49, 28.39, -55.27) |
| CIE-LCH | lch(40.49, 62.14, 297.18°) |
| OKLab | oklab(49.82% 0.0179 -0.1584) |
| OKLCH | oklch(49.82% 0.159 276.4) |
| XYZ | xyz(15.2790, 11.5471, 48.4277) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54BB #BBB54E
analogous
#4E8BBB #4E54BB #7F4EBB
triadic
#4E54BB #BB4E54 #54BB4E
tetradic
#4E54BB #BB4E8B #BBB54E #4EBB7F
square
#4E54BB #BB4E8B #BBB54E #4EBB7F
split-complementary
#4E54BB #BB7F4E #8BBB4E
monochromatic
#282B67 #393E93 #4E54BB #7A7FCC #A6A9DD
Accessibility & contrast
On white
6.35
#4E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4E54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54BB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54BB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4e54bb; /* rgb */ color: rgb(78, 84, 187); /* oklch */ color: oklch(49.8% 0.159 276.4);
Tailwind
colors: {
custom: {
50: '#8984d0',
500: '#4e54bb',
950: '#000000',
},
}SCSS
$custom: #4e54bb; $custom-light: #8984d0; $custom-dark: #000000;
JSON
{
"hex": "#4e54bb",
"rgb": {
"r": 78,
"g": 84,
"b": 187
},
"hsl": {
"h": 236.697,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.49817,
"c": 0.15944,
"h": 276.4
},
"luminance": 0.11548
}Semantic roles & 50–950 ramp
primary
#4E54BB
secondary
#CAC89B
accent
#CD54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82