#5952BF#5952BF
#5952BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.165 H 281.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5952BF |
|---|---|
| RGB | rgb(89, 82, 191) |
| HSL | hsl(244, 46%, 54%) |
| HSV | hsv(244, 57%, 75%) |
| CMYK | cmyk(53.4%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.09, 33.07, -56.60) |
| CIE-LCH | lch(41.09, 65.56, 300.30°) |
| OKLab | oklab(50.56% 0.0333 -0.1621) |
| OKLCH | oklch(50.56% 0.165 281.6) |
| XYZ | xyz(16.5382, 11.9190, 50.7093) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.33
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952BF #B8BF52
analogous
#5281BF #5952BF #8F52BF
triadic
#5952BF #BF5952 #52BF59
tetradic
#5952BF #BF5281 #B8BF52 #52BF8F
square
#5952BF #BF5281 #B8BF52 #52BF8F
split-complementary
#5952BF #BF8F52 #81BF52
monochromatic
#2D296E #3F399B #5952BF #847FD0 #AFABE0
Accessibility & contrast
On white
6.21
#5952BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5952BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952BF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952BF | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#2D6B80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5952bf; /* rgb */ color: rgb(89, 82, 191); /* oklch */ color: oklch(50.6% 0.165 281.6);
Tailwind
colors: {
custom: {
50: '#9083d3',
500: '#5952bf',
950: '#000000',
},
}SCSS
$custom: #5952bf; $custom-light: #9083d3; $custom-dark: #000000;
JSON
{
"hex": "#5952bf",
"rgb": {
"r": 89,
"g": 82,
"b": 191
},
"hsl": {
"h": 243.853,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50559,
"c": 0.16544,
"h": 281.6
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#5952BF
secondary
#CBCE9F
accent
#D652CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83