#5E59BA#5E59BA
#5E59BA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.148 H 282.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5E59BA |
|---|---|
| RGB | rgb(94, 89, 186) |
| HSL | hsl(243, 41%, 54%) |
| HSV | hsv(243, 52%, 73%) |
| CMYK | cmyk(49.5%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(42.87, 28.25, -50.79) |
| CIE-LCH | lch(42.87, 58.12, 299.08°) |
| OKLab | oklab(51.88% 0.0314 -0.1448) |
| OKLCH | oklch(51.88% 0.148 282.2) |
| XYZ | xyz(17.0487, 13.0687, 48.0690) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.77
Slate Blue
#6A5ACD
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E59BA #B5BA59
analogous
#5985BA #5E59BA #8F59BA
triadic
#5E59BA #BA5E59 #59BA5E
tetradic
#5E59BA #BA5985 #B5BA59 #59BA8F
square
#5E59BA #BA5985 #B5BA59 #59BA8F
split-complementary
#5E59BA #BA8F59 #85BA59
monochromatic
#302D6C #433F97 #5E59BA #8884CC #B2AFDE
Accessibility & contrast
On white
5.81
#5E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5E59BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E59BA
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E59BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E59BA | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BD
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#3C6E81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5e59ba; /* rgb */ color: rgb(94, 89, 186); /* oklch */ color: oklch(51.9% 0.148 282.2);
Tailwind
colors: {
custom: {
50: '#9288cf',
500: '#5e59ba',
950: '#000000',
},
}SCSS
$custom: #5e59ba; $custom-light: #9288cf; $custom-dark: #000000;
JSON
{
"hex": "#5e59ba",
"rgb": {
"r": 94,
"g": 89,
"b": 186
},
"hsl": {
"h": 243.093,
"s": 41.277,
"l": 53.922
},
"oklch": {
"l": 0.51877,
"c": 0.14816,
"h": 282.2
},
"luminance": 0.1307
}Semantic roles & 50–950 ramp
primary
#5E59BA
secondary
#CACCA3
accent
#D157CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82