#5951BF#5951BF
#5951BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.167 H 281.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5951BF |
|---|---|
| RGB | rgb(89, 81, 191) |
| HSL | hsl(244, 46%, 53%) |
| HSV | hsv(244, 58%, 75%) |
| CMYK | cmyk(53.4%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(40.85, 33.69, -56.99) |
| CIE-LCH | lch(40.85, 66.20, 300.59°) |
| OKLab | oklab(50.38% 0.0343 -0.1632) |
| OKLCH | oklch(50.38% 0.167 281.9) |
| XYZ | xyz(16.4633, 11.7693, 50.6843) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.54
Slate Blue
#6A5ACD
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5951BF #B7BF51
analogous
#5180BF #5951BF #9051BF
triadic
#5951BF #BF5951 #51BF59
tetradic
#5951BF #BF5180 #B7BF51 #51BF90
square
#5951BF #BF5180 #B7BF51 #51BF90
split-complementary
#5951BF #BF9051 #80BF51
monochromatic
#2D286D #40399A #5951BF #847ECF #AEAAE0
Accessibility & contrast
On white
6.26
#5951BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5951BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5951BF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5951BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5951BF | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#2D6B80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5951bf; /* rgb */ color: rgb(89, 81, 191); /* oklch */ color: oklch(50.4% 0.167 281.9);
Tailwind
colors: {
custom: {
50: '#9082d3',
500: '#5951bf',
950: '#000000',
},
}SCSS
$custom: #5951bf; $custom-light: #9082d3; $custom-dark: #000000;
JSON
{
"hex": "#5951bf",
"rgb": {
"r": 89,
"g": 81,
"b": 191
},
"hsl": {
"h": 244.364,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.50382,
"c": 0.16677,
"h": 281.9
},
"luminance": 0.1177
}Semantic roles & 50–950 ramp
primary
#5951BF
secondary
#CACE9E
accent
#D652CC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83