#5E56BB#5E56BB
#5E56BB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.154 H 283.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5E56BB |
|---|---|
| RGB | rgb(94, 86, 187) |
| HSL | hsl(245, 43%, 54%) |
| HSV | hsv(245, 54%, 73%) |
| CMYK | cmyk(49.7%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(42.19, 30.41, -52.47) |
| CIE-LCH | lch(42.19, 60.64, 300.09°) |
| OKLab | oklab(51.39% 0.0349 -0.1497) |
| OKLCH | oklch(51.39% 0.154 283.1) |
| XYZ | xyz(16.9108, 12.6222, 48.5493) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.59
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.38
Warm Blue
#4B57DB
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E56BB #B3BB56
analogous
#5680BB #5E56BB #9056BB
triadic
#5E56BB #BB5E56 #56BB5E
tetradic
#5E56BB #BB5680 #B3BB56 #56BB90
square
#5E56BB #BB5680 #B3BB56 #56BB90
split-complementary
#5E56BB #BB9056 #80BB56
monochromatic
#302B6B #443D97 #5E56BB #8882CD #B1ADDE
Accessibility & contrast
On white
5.96
#5E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5E56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E56BB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E56BB | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#3C6C80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5e56bb; /* rgb */ color: rgb(94, 86, 187); /* oklch */ color: oklch(51.4% 0.154 283.1);
Tailwind
colors: {
custom: {
50: '#9286d0',
500: '#5e56bb',
950: '#000000',
},
}SCSS
$custom: #5e56bb; $custom-light: #9286d0; $custom-dark: #000000;
JSON
{
"hex": "#5e56bb",
"rgb": {
"r": 94,
"g": 86,
"b": 187
},
"hsl": {
"h": 244.752,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.51391,
"c": 0.15375,
"h": 283.1
},
"luminance": 0.12623
}Semantic roles & 50–950 ramp
primary
#5E56BB
secondary
#C9CCA1
accent
#D255C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82