#5952D8#5952D8
#5952D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.5% C 0.198 H 279.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5952D8 |
|---|---|
| RGB | rgb(89, 82, 216) |
| HSL | hsl(243, 63%, 58%) |
| HSV | hsv(243, 62%, 85%) |
| CMYK | cmyk(58.8%, 62%, 0%, 15.3%) |
| CIE-LAB | lab(42.94, 41.00, -68.04) |
| CIE-LCH | lch(42.94, 79.44, 301.08°) |
| OKLab | oklab(52.5% 0.0324 -0.1957) |
| OKLCH | oklch(52.5% 0.198 279.4) |
| XYZ | xyz(19.5279, 13.1149, 66.4548) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Iris
#6258C4
ΔE00 3.49
Slate Blue
#6A5ACD
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.26
Purpleish Blue
#6140EF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952D8 #D1D852
analogous
#528ED8 #5952D8 #9C52D8
triadic
#5952D8 #D85952 #52D859
tetradic
#5952D8 #D8528E #D1D852 #52D89C
square
#5952D8 #D8528E #D1D852 #52D89C
split-complementary
#5952D8 #D89C52 #8ED852
monochromatic
#26208F #332CC1 #5952D8 #8984E3 #B9B6EF
Accessibility & contrast
On white
5.80
#5952D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5952D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952D8
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952D8 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5952d8; /* rgb */ color: rgb(89, 82, 216); /* oklch */ color: oklch(52.5% 0.198 279.4);
Tailwind
colors: {
custom: {
50: '#9483e5',
500: '#5952d8',
950: '#000000',
},
}SCSS
$custom: #5952d8; $custom-light: #9483e5; $custom-dark: #000000;
JSON
{
"hex": "#5952d8",
"rgb": {
"r": 89,
"g": 82,
"b": 216
},
"hsl": {
"h": 243.134,
"s": 63.208,
"l": 58.431
},
"oklch": {
"l": 0.52502,
"c": 0.19835,
"h": 279.4
},
"luminance": 0.13116
}Semantic roles & 50–950 ramp
primary
#5952D8
secondary
#DBDDA8
accent
#E642DE
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84