#5952BB#5952BB
#5952BB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.160 H 282.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5952BB |
|---|---|
| RGB | rgb(89, 82, 187) |
| HSL | hsl(244, 44%, 53%) |
| HSV | hsv(244, 56%, 73%) |
| CMYK | cmyk(52.4%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.81, 31.81, -54.71) |
| CIE-LCH | lch(40.81, 63.29, 300.17°) |
| OKLab | oklab(50.26% 0.0332 -0.1565) |
| OKLCH | oklch(50.26% 0.16 282) |
| XYZ | xyz(16.1040, 11.7454, 48.4226) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.95
Warm Blue
#4B57DB
ΔE00 5.14
Dark Periwinkle
#665FD1
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952BB #B4BB52
analogous
#527FBB #5952BB #8D52BB
triadic
#5952BB #BB5952 #52BB59
tetradic
#5952BB #BB527F #B4BB52 #52BB8D
square
#5952BB #BB527F #B4BB52 #52BB8D
split-complementary
#5952BB #BB8D52 #7FBB52
monochromatic
#2E2969 #413B95 #5952BB #837ECC #ADAADE
Accessibility & contrast
On white
6.27
#5952BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5952BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952BB
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952BB | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#306A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5952bb; /* rgb */ color: rgb(89, 82, 187); /* oklch */ color: oklch(50.3% 0.160 282.0);
Tailwind
colors: {
custom: {
50: '#8f83d0',
500: '#5952bb',
950: '#000000',
},
}SCSS
$custom: #5952bb; $custom-light: #8f83d0; $custom-dark: #000000;
JSON
{
"hex": "#5952bb",
"rgb": {
"r": 89,
"g": 82,
"b": 187
},
"hsl": {
"h": 244,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50264,
"c": 0.15999,
"h": 282
},
"luminance": 0.11746
}Semantic roles & 50–950 ramp
primary
#5952BB
secondary
#C8CB9E
accent
#D354CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82