#4E52BA#4E52BA
#4E52BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.161 H 277.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52BA |
|---|---|
| RGB | rgb(78, 82, 186) |
| HSL | hsl(238, 44%, 52%) |
| HSV | hsv(238, 58%, 73%) |
| CMYK | cmyk(58.1%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(39.91, 29.31, -55.62) |
| CIE-LCH | lch(39.91, 62.87, 297.79°) |
| OKLab | oklab(49.37% 0.0199 -0.1595) |
| OKLCH | oklch(49.37% 0.161 277.1) |
| XYZ | xyz(15.0193, 11.1984, 47.8149) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 6.12
Dark Periwinkle
#665FD1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52BA #BAB64E
analogous
#4E88BA #4E52BA #804EBA
triadic
#4E52BA #BA4E52 #52BA4E
tetradic
#4E52BA #BA4E88 #BAB64E #4EBA80
square
#4E52BA #BA4E88 #BAB64E #4EBA80
split-complementary
#4E52BA #BA804E #88BA4E
monochromatic
#282A66 #393C92 #4E52BA #7A7DCB #A6A8DC
Accessibility & contrast
On white
6.48
#4E52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4E52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52BA
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52BA | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#056A7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4e52ba; /* rgb */ color: rgb(78, 82, 186); /* oklch */ color: oklch(49.4% 0.161 277.1);
Tailwind
colors: {
custom: {
50: '#8982cf',
500: '#4e52ba',
950: '#000000',
},
}SCSS
$custom: #4e52ba; $custom-light: #8982cf; $custom-dark: #000000;
JSON
{
"hex": "#4e52ba",
"rgb": {
"r": 78,
"g": 82,
"b": 186
},
"hsl": {
"h": 237.778,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.49366,
"c": 0.1607,
"h": 277.1
},
"luminance": 0.11199
}Semantic roles & 50–950 ramp
primary
#4E52BA
secondary
#CAC89A
accent
#CF54D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82