#5952C8#5952C8
#5952C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.177 H 280.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5952C8 |
|---|---|
| RGB | rgb(89, 82, 200) |
| HSL | hsl(244, 52%, 55%) |
| HSV | hsv(244, 59%, 78%) |
| CMYK | cmyk(55.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(41.73, 35.92, -60.79) |
| CIE-LCH | lch(41.73, 70.61, 300.58°) |
| OKLab | oklab(51.24% 0.0332 -0.1744) |
| OKLCH | oklch(51.24% 0.177 280.8) |
| XYZ | xyz(17.5592, 12.3274, 56.0865) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.50
Bluey Purple
#6241C7
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952C8 #C1C852
analogous
#5286C8 #5952C8 #9452C8
triadic
#5952C8 #C85952 #52C859
tetradic
#5952C8 #C85286 #C1C852 #52C894
square
#5952C8 #C85286 #C1C852 #52C894
split-complementary
#5952C8 #C89452 #86C852
monochromatic
#2B2779 #3C35A8 #5952C8 #8680D7 #B2AFE6
Accessibility & contrast
On white
6.06
#5952C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5952C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952C8
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952C8 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#226E85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5952c8; /* rgb */ color: rgb(89, 82, 200); /* oklch */ color: oklch(51.2% 0.177 280.8);
Tailwind
colors: {
custom: {
50: '#9183da',
500: '#5952c8',
950: '#000000',
},
}SCSS
$custom: #5952c8; $custom-light: #9183da; $custom-dark: #000000;
JSON
{
"hex": "#5952c8",
"rgb": {
"r": 89,
"g": 82,
"b": 200
},
"hsl": {
"h": 243.559,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.5124,
"c": 0.17749,
"h": 280.8
},
"luminance": 0.12329
}Semantic roles & 50–950 ramp
primary
#5952C8
secondary
#D1D4A2
accent
#DB4DD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83