#5E56BA#5E56BA
#5E56BA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.152 H 283.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5E56BA |
|---|---|
| RGB | rgb(94, 86, 186) |
| HSL | hsl(245, 42%, 53%) |
| HSV | hsv(245, 54%, 73%) |
| CMYK | cmyk(49.5%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(42.12, 30.10, -51.99) |
| CIE-LCH | lch(42.12, 60.07, 300.07°) |
| OKLab | oklab(51.32% 0.0349 -0.1483) |
| OKLCH | oklch(51.32% 0.152 283.2) |
| XYZ | xyz(16.8041, 12.5796, 47.9875) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.72
Slate Blue
#6A5ACD
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E56BA #B2BA56
analogous
#5680BA #5E56BA #9056BA
triadic
#5E56BA #BA5E56 #56BA5E
tetradic
#5E56BA #BA5680 #B2BA56 #56BA90
square
#5E56BA #BA5680 #B2BA56 #56BA90
split-complementary
#5E56BA #BA9056 #80BA56
monochromatic
#302B6A #443D96 #5E56BA #8781CC #B1ADDD
Accessibility & contrast
On white
5.97
#5E56BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5E56BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E56BA
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E56BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E56BA | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#3C6C80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5e56ba; /* rgb */ color: rgb(94, 86, 186); /* oklch */ color: oklch(51.3% 0.152 283.2);
Tailwind
colors: {
custom: {
50: '#9286cf',
500: '#5e56ba',
950: '#000000',
},
}SCSS
$custom: #5e56ba; $custom-light: #9286cf; $custom-dark: #000000;
JSON
{
"hex": "#5e56ba",
"rgb": {
"r": 94,
"g": 86,
"b": 186
},
"hsl": {
"h": 244.8,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.51321,
"c": 0.15238,
"h": 283.2
},
"luminance": 0.1258
}Semantic roles & 50–950 ramp
primary
#5E56BA
secondary
#C8CBA0
accent
#D256C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82