#5956BD#5956BD
#5956BD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.157 H 280.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5956BD |
|---|---|
| RGB | rgb(89, 86, 189) |
| HSL | hsl(242, 44%, 54%) |
| HSV | hsv(242, 54%, 74%) |
| CMYK | cmyk(52.9%, 54.5%, 0%, 25.9%) |
| CIE-LAB | lab(41.93, 29.97, -54.08) |
| CIE-LCH | lch(41.93, 61.83, 299.00°) |
| OKLab | oklab(51.14% 0.0289 -0.1546) |
| OKLCH | oklch(51.14% 0.157 280.6) |
| XYZ | xyz(16.6301, 12.4526, 49.6615) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.94
Slate Blue
#6A5ACD
ΔE00 3.90
Dark Periwinkle
#665FD1
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956BD #BABD56
analogous
#5687BD #5956BD #8D56BD
triadic
#5956BD #BD5956 #56BD59
tetradic
#5956BD #BD5687 #BABD56 #56BD8D
square
#5956BD #BD5687 #BABD56 #56BD8D
split-complementary
#5956BD #BD8D56 #87BD56
monochromatic
#2D2B6E #3F3C9A #5956BD #8482CE #AFAEDF
Accessibility & contrast
On white
6.02
#5956BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5956BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956BD
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956BD | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#2E6D81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5956bd; /* rgb */ color: rgb(89, 86, 189); /* oklch */ color: oklch(51.1% 0.157 280.6);
Tailwind
colors: {
custom: {
50: '#9085d1',
500: '#5956bd',
950: '#000000',
},
}SCSS
$custom: #5956bd; $custom-light: #9085d1; $custom-dark: #000000;
JSON
{
"hex": "#5956bd",
"rgb": {
"r": 89,
"g": 86,
"b": 189
},
"hsl": {
"h": 241.748,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.51139,
"c": 0.15728,
"h": 280.6
},
"luminance": 0.12454
}Semantic roles & 50–950 ramp
primary
#5956BD
secondary
#CCCDA1
accent
#D454D0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82