#5E56BF#5E56BF
#5E56BF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.159 H 282.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E56BF |
|---|---|
| RGB | rgb(94, 86, 191) |
| HSL | hsl(245, 45%, 54%) |
| HSV | hsv(245, 55%, 75%) |
| CMYK | cmyk(50.8%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(42.45, 31.65, -54.37) |
| CIE-LCH | lch(42.45, 62.91, 300.20°) |
| OKLab | oklab(51.67% 0.0351 -0.1553) |
| OKLCH | oklch(51.67% 0.159 282.7) |
| XYZ | xyz(17.3450, 12.7959, 50.8360) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.13
Slate Blue
#6A5ACD
ΔE00 3.09
Light Indigo
#6D5ACF
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E56BF #B7BF56
analogous
#5683BF #5E56BF #9256BF
triadic
#5E56BF #BF5E56 #56BF5E
tetradic
#5E56BF #BF5683 #B7BF56 #56BF92
square
#5E56BF #BF5683 #B7BF56 #56BF92
split-complementary
#5E56BF #BF9256 #83BF56
monochromatic
#302A70 #433B9D #5E56BF #8882D0 #B3AFE1
Accessibility & contrast
On white
5.90
#5E56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5E56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E56BF
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E56BF | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#0861BD
Tritanopia (blue-blind)
#396E82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5e56bf; /* rgb */ color: rgb(94, 86, 191); /* oklch */ color: oklch(51.7% 0.159 282.7);
Tailwind
colors: {
custom: {
50: '#9386d3',
500: '#5e56bf',
950: '#000000',
},
}SCSS
$custom: #5e56bf; $custom-light: #9386d3; $custom-dark: #000000;
JSON
{
"hex": "#5e56bf",
"rgb": {
"r": 94,
"g": 86,
"b": 191
},
"hsl": {
"h": 244.571,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51674,
"c": 0.15924,
"h": 282.7
},
"luminance": 0.12797
}Semantic roles & 50–950 ramp
primary
#5E56BF
secondary
#CBCFA2
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83