#5951CB#5951CB
#5951CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.3% C 0.183 H 280.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5951CB |
|---|---|
| RGB | rgb(89, 81, 203) |
| HSL | hsl(244, 54%, 56%) |
| HSV | hsv(244, 60%, 80%) |
| CMYK | cmyk(56.2%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.72, 37.48, -62.54) |
| CIE-LCH | lch(41.72, 72.91, 300.93°) |
| OKLab | oklab(51.3% 0.034 -0.1795) |
| OKLCH | oklch(51.3% 0.183 280.7) |
| XYZ | xyz(17.8384, 12.3193, 57.9262) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.64
Warm Blue
#4B57DB
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 4.16
Dark Periwinkle
#665FD1
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5951CB #C3CB51
analogous
#5186CB #5951CB #9651CB
triadic
#5951CB #CB5951 #51CB59
tetradic
#5951CB #CB5186 #C3CB51 #51CB96
square
#5951CB #CB5186 #C3CB51 #51CB96
split-complementary
#5951CB #CB9651 #86CB51
monochromatic
#2B257C #3B33AC #5951CB #8680D9 #B3AFE7
Accessibility & contrast
On white
6.06
#5951CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5951CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5951CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5951CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5951CB | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#1D6E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5951cb; /* rgb */ color: rgb(89, 81, 203); /* oklch */ color: oklch(51.3% 0.183 280.7);
Tailwind
colors: {
custom: {
50: '#9282dc',
500: '#5951cb',
950: '#000000',
},
}SCSS
$custom: #5951cb; $custom-light: #9282dc; $custom-dark: #000000;
JSON
{
"hex": "#5951cb",
"rgb": {
"r": 89,
"g": 81,
"b": 203
},
"hsl": {
"h": 243.934,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.513,
"c": 0.18274,
"h": 280.7
},
"luminance": 0.12321
}Semantic roles & 50–950 ramp
primary
#5951CB
secondary
#D2D5A3
accent
#DD4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83