#5956BB#5956BB
#5956BB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.155 H 280.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5956BB |
|---|---|
| RGB | rgb(89, 86, 187) |
| HSL | hsl(242, 43%, 54%) |
| HSV | hsv(242, 54%, 73%) |
| CMYK | cmyk(52.4%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.79, 29.34, -53.13) |
| CIE-LCH | lch(41.79, 60.69, 298.91°) |
| OKLab | oklab(51% 0.0288 -0.1518) |
| OKLCH | oklch(51% 0.155 280.7) |
| XYZ | xyz(16.4145, 12.3663, 48.5261) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.11
Slate Blue
#6A5ACD
ΔE00 4.09
Dark Periwinkle
#665FD1
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956BB #B8BB56
analogous
#5685BB #5956BB #8B56BB
triadic
#5956BB #BB5956 #56BB59
tetradic
#5956BB #BB5685 #B8BB56 #56BB8B
square
#5956BB #BB5685 #B8BB56 #56BB8B
split-complementary
#5956BB #BB8B56 #85BB56
monochromatic
#2D2B6B #3F3D97 #5956BB #8482CD #AFADDE
Accessibility & contrast
On white
6.05
#5956BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5956BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956BB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956BB | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#306D80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5956bb; /* rgb */ color: rgb(89, 86, 187); /* oklch */ color: oklch(51.0% 0.155 280.7);
Tailwind
colors: {
custom: {
50: '#8f85d0',
500: '#5956bb',
950: '#000000',
},
}SCSS
$custom: #5956bb; $custom-light: #8f85d0; $custom-dark: #000000;
JSON
{
"hex": "#5956bb",
"rgb": {
"r": 89,
"g": 86,
"b": 187
},
"hsl": {
"h": 241.782,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.50997,
"c": 0.15452,
"h": 280.7
},
"luminance": 0.12367
}Semantic roles & 50–950 ramp
primary
#5956BB
secondary
#CBCCA1
accent
#D255CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82