#5956C8#5956C8
#5956C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.172 H 279.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5956C8 |
|---|---|
| RGB | rgb(89, 86, 200) |
| HSL | hsl(242, 51%, 56%) |
| HSV | hsv(242, 57%, 78%) |
| CMYK | cmyk(55.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(42.69, 33.48, -59.24) |
| CIE-LCH | lch(42.69, 68.05, 299.48°) |
| OKLab | oklab(51.94% 0.0291 -0.1698) |
| OKLCH | oklch(51.94% 0.172 279.7) |
| XYZ | xyz(17.8697, 12.9484, 56.1900) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.74
Warm Blue
#4B57DB
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.18
Dark Periwinkle
#665FD1
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956C8 #C5C856
analogous
#568CC8 #5956C8 #9256C8
triadic
#5956C8 #C85956 #56C859
tetradic
#5956C8 #C8568C #C5C856 #56C892
square
#5956C8 #C8568C #C5C856 #56C892
split-complementary
#5956C8 #C89256 #8CC856
monochromatic
#2A287B #3A37AA #5956C8 #8684D7 #B4B2E6
Accessibility & contrast
On white
5.85
#5956C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5956C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956C8
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956C8 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#217187
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5956c8; /* rgb */ color: rgb(89, 86, 200); /* oklch */ color: oklch(51.9% 0.172 279.7);
Tailwind
colors: {
custom: {
50: '#9186d9',
500: '#5956c8',
950: '#000000',
},
}SCSS
$custom: #5956c8; $custom-light: #9186d9; $custom-dark: #000000;
JSON
{
"hex": "#5956c8",
"rgb": {
"r": 89,
"g": 86,
"b": 200
},
"hsl": {
"h": 241.579,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.51945,
"c": 0.17227,
"h": 279.7
},
"luminance": 0.1295
}Semantic roles & 50–950 ramp
primary
#5956C8
secondary
#D3D4A5
accent
#DA4DD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83