#5951C8#5951C8
#5951C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.179 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5951C8 |
|---|---|
| RGB | rgb(89, 81, 200) |
| HSL | hsl(244, 52%, 55%) |
| HSV | hsv(244, 60%, 78%) |
| CMYK | cmyk(55.5%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.50, 36.53, -61.17) |
| CIE-LCH | lch(41.50, 71.24, 300.85°) |
| OKLab | oklab(51.07% 0.0342 -0.1755) |
| OKLCH | oklch(51.07% 0.179 281) |
| XYZ | xyz(17.4843, 12.1777, 56.0616) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 4.26
Dark Periwinkle
#665FD1
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5951C8 #C0C851
analogous
#5184C8 #5951C8 #9551C8
triadic
#5951C8 #C85951 #51C859
tetradic
#5951C8 #C85184 #C0C851 #51C895
square
#5951C8 #C85184 #C0C851 #51C895
split-complementary
#5951C8 #C89551 #84C851
monochromatic
#2C2679 #3C35A7 #5951C8 #8580D7 #B2AEE5
Accessibility & contrast
On white
6.11
#5951C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5951C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5951C8
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5951C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5951C8 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#226D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5951c8; /* rgb */ color: rgb(89, 81, 200); /* oklch */ color: oklch(51.1% 0.179 281.0);
Tailwind
colors: {
custom: {
50: '#9182da',
500: '#5951c8',
950: '#000000',
},
}SCSS
$custom: #5951c8; $custom-light: #9182da; $custom-dark: #000000;
JSON
{
"hex": "#5951c8",
"rgb": {
"r": 89,
"g": 81,
"b": 200
},
"hsl": {
"h": 244.034,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.51067,
"c": 0.17878,
"h": 281
},
"luminance": 0.12179
}Semantic roles & 50–950 ramp
primary
#5951C8
secondary
#D0D3A1
accent
#DB4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83