#5952CF#5952CF
#5952CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.187 H 280.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5952CF |
|---|---|
| RGB | rgb(89, 82, 207) |
| HSL | hsl(243, 57%, 57%) |
| HSV | hsv(243, 60%, 81%) |
| CMYK | cmyk(57%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.25, 38.15, -63.99) |
| CIE-LCH | lch(42.25, 74.49, 300.80°) |
| OKLab | oklab(51.78% 0.0329 -0.1838) |
| OKLCH | oklch(51.78% 0.187 280.2) |
| XYZ | xyz(18.3961, 12.6622, 60.4941) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.70
Warm Blue
#4B57DB
ΔE00 3.05
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952CF #C8CF52
analogous
#528ACF #5952CF #9852CF
triadic
#5952CF #CF5952 #52CF59
tetradic
#5952CF #CF528A #C8CF52 #52CF98
square
#5952CF #CF528A #C8CF52 #52CF98
split-complementary
#5952CF #CF9852 #8ACF52
monochromatic
#292482 #3931B2 #5952CF #8782DC #B5B2EA
Accessibility & contrast
On white
5.94
#5952CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5952CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952CF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952CF | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#157089
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5952cf; /* rgb */ color: rgb(89, 82, 207); /* oklch */ color: oklch(51.8% 0.187 280.2);
Tailwind
colors: {
custom: {
50: '#9283df',
500: '#5952cf',
950: '#000000',
},
}SCSS
$custom: #5952cf; $custom-light: #9283df; $custom-dark: #000000;
JSON
{
"hex": "#5952cf",
"rgb": {
"r": 89,
"g": 82,
"b": 207
},
"hsl": {
"h": 243.36,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51784,
"c": 0.18671,
"h": 280.2
},
"luminance": 0.12663
}Semantic roles & 50–950 ramp
primary
#5952CF
secondary
#D5D8A5
accent
#E048D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83