#4E59BA#4E59BA
#4E59BA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.151 H 274.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E59BA |
|---|---|
| RGB | rgb(78, 89, 186) |
| HSL | hsl(234, 44%, 52%) |
| HSV | hsv(234, 58%, 73%) |
| CMYK | cmyk(58.1%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(41.70, 24.89, -52.73) |
| CIE-LCH | lch(41.70, 58.31, 295.27°) |
| OKLab | oklab(50.71% 0.0126 -0.1509) |
| OKLCH | oklch(50.71% 0.151 274.8) |
| XYZ | xyz(15.5743, 12.3085, 47.9999) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 6.46
Dusky Blue
#475F94
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E59BA #BAAF4E
analogous
#4E8FBA #4E59BA #794EBA
triadic
#4E59BA #BA4E59 #59BA4E
tetradic
#4E59BA #BA4E8F #BAAF4E #4EBA79
square
#4E59BA #BA4E8F #BAAF4E #4EBA79
split-complementary
#4E59BA #BA794E #8FBA4E
monochromatic
#282E66 #394292 #4E59BA #7A82CB #A6ACDC
Accessibility & contrast
On white
6.07
#4E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#4E59BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E59BA
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E59BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E59BA | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#016F81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4e59ba; /* rgb */ color: rgb(78, 89, 186); /* oklch */ color: oklch(50.7% 0.151 274.8);
Tailwind
colors: {
custom: {
50: '#8987cf',
500: '#4e59ba',
950: '#000000',
},
}SCSS
$custom: #4e59ba; $custom-light: #8987cf; $custom-dark: #000000;
JSON
{
"hex": "#4e59ba",
"rgb": {
"r": 78,
"g": 89,
"b": 186
},
"hsl": {
"h": 233.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.50706,
"c": 0.15143,
"h": 274.8
},
"luminance": 0.1231
}Semantic roles & 50–950 ramp
primary
#4E59BA
secondary
#CAC59A
accent
#C754D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82