#4E54BA#4E54BA
#4E54BA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.158 H 276.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54BA |
|---|---|
| RGB | rgb(78, 84, 186) |
| HSL | hsl(237, 44%, 52%) |
| HSV | hsv(237, 58%, 73%) |
| CMYK | cmyk(58.1%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(40.42, 28.05, -54.80) |
| CIE-LCH | lch(40.42, 61.56, 297.11°) |
| OKLab | oklab(49.74% 0.0178 -0.157) |
| OKLCH | oklch(49.74% 0.158 276.5) |
| XYZ | xyz(15.1723, 11.5044, 47.8659) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.95
Light Indigo
#6D5ACF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54BA #BAB44E
analogous
#4E8ABA #4E54BA #7E4EBA
triadic
#4E54BA #BA4E54 #54BA4E
tetradic
#4E54BA #BA4E8A #BAB44E #4EBA7E
square
#4E54BA #BA4E8A #BAB44E #4EBA7E
split-complementary
#4E54BA #BA7E4E #8ABA4E
monochromatic
#282B66 #393E92 #4E54BA #7A7FCB #A6A9DC
Accessibility & contrast
On white
6.36
#4E54BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4E54BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54BA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54BA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#046C7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4e54ba; /* rgb */ color: rgb(78, 84, 186); /* oklch */ color: oklch(49.7% 0.158 276.5);
Tailwind
colors: {
custom: {
50: '#8984cf',
500: '#4e54ba',
950: '#000000',
},
}SCSS
$custom: #4e54ba; $custom-light: #8984cf; $custom-dark: #000000;
JSON
{
"hex": "#4e54ba",
"rgb": {
"r": 78,
"g": 84,
"b": 186
},
"hsl": {
"h": 236.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.49742,
"c": 0.15806,
"h": 276.5
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#4E54BA
secondary
#CAC79A
accent
#CD54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82