#5951BB#5951BB
#5951BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.161 H 282.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5951BB |
|---|---|
| RGB | rgb(89, 81, 187) |
| HSL | hsl(245, 44%, 53%) |
| HSV | hsv(245, 57%, 73%) |
| CMYK | cmyk(52.4%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(40.57, 32.43, -55.11) |
| CIE-LCH | lch(40.57, 63.94, 300.47°) |
| OKLab | oklab(50.08% 0.0343 -0.1577) |
| OKLCH | oklch(50.08% 0.161 282.3) |
| XYZ | xyz(16.0292, 11.5957, 48.3976) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Ocean Blue
#4F42B5
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.56
Light Indigo
#6D5ACF
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5951BB #B3BB51
analogous
#517EBB #5951BB #8E51BB
triadic
#5951BB #BB5951 #51BB59
tetradic
#5951BB #BB517E #B3BB51 #51BB8E
square
#5951BB #BB517E #B3BB51 #51BB8E
split-complementary
#5951BB #BB8E51 #7EBB51
monochromatic
#2E2969 #413A95 #5951BB #837DCC #ADA9DD
Accessibility & contrast
On white
6.33
#5951BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5951BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5951BB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5951BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5951BB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#31697E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5951bb; /* rgb */ color: rgb(89, 81, 187); /* oklch */ color: oklch(50.1% 0.161 282.3);
Tailwind
colors: {
custom: {
50: '#9082d0',
500: '#5951bb',
950: '#000000',
},
}SCSS
$custom: #5951bb; $custom-light: #9082d0; $custom-dark: #000000;
JSON
{
"hex": "#5951bb",
"rgb": {
"r": 89,
"g": 81,
"b": 187
},
"hsl": {
"h": 244.528,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50084,
"c": 0.16136,
"h": 282.3
},
"luminance": 0.11597
}Semantic roles & 50–950 ramp
primary
#5951BB
secondary
#C7CB9D
accent
#D454CA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82