#5956CF#5956CF
#5956CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.182 H 279.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5956CF |
|---|---|
| RGB | rgb(89, 86, 207) |
| HSL | hsl(241, 56%, 57%) |
| HSV | hsv(241, 58%, 81%) |
| CMYK | cmyk(57%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.19, 35.73, -62.46) |
| CIE-LCH | lch(43.19, 71.96, 299.77°) |
| OKLab | oklab(52.48% 0.0291 -0.1793) |
| OKLCH | oklch(52.48% 0.182 279.2) |
| XYZ | xyz(18.7065, 13.2831, 60.5975) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.25
Warm Blue
#4B57DB
ΔE00 2.47
Slate Blue
#6A5ACD
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 3.31
Light Indigo
#6D5ACF
ΔE00 3.55
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956CF #CCCF56
analogous
#568FCF #5956CF #9656CF
triadic
#5956CF #CF5956 #56CF59
tetradic
#5956CF #CF568F #CCCF56 #56CF96
square
#5956CF #CF568F #CCCF56 #56CF96
split-complementary
#5956CF #CF9656 #8FCF56
monochromatic
#282685 #3633B5 #5956CF #8886DD #B7B5EA
Accessibility & contrast
On white
5.74
#5956CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5956CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956CF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956CF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#13738A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5956cf; /* rgb */ color: rgb(89, 86, 207); /* oklch */ color: oklch(52.5% 0.182 279.2);
Tailwind
colors: {
custom: {
50: '#9286de',
500: '#5956cf',
950: '#000000',
},
}SCSS
$custom: #5956cf; $custom-light: #9286de; $custom-dark: #000000;
JSON
{
"hex": "#5956cf",
"rgb": {
"r": 89,
"g": 86,
"b": 207
},
"hsl": {
"h": 241.488,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.52475,
"c": 0.18162,
"h": 279.2
},
"luminance": 0.13284
}Semantic roles & 50–950 ramp
primary
#5956CF
secondary
#D8D9A8
accent
#DF49DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83