#5962D7#5962D7
#5962D7 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.177 H 275.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5962D7 |
|---|---|
| RGB | rgb(89, 98, 215) |
| HSL | hsl(236, 61%, 60%) |
| HSV | hsv(236, 59%, 84%) |
| CMYK | cmyk(58.6%, 54.4%, 0%, 15.7%) |
| CIE-LAB | lab(46.66, 30.96, -61.41) |
| CIE-LCH | lch(46.66, 68.78, 296.76°) |
| OKLab | oklab(55.24% 0.0174 -0.1761) |
| OKLCH | oklch(55.24% 0.177 275.7) |
| XYZ | xyz(20.7493, 15.7640, 66.2261) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.74
Warm Blue
#4B57DB
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.53
Royal Blue
#4169E1
ΔE00 4.57
Iris
#6258C4
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962D7 #D7CE59
analogous
#59A1D7 #5962D7 #8F59D7
triadic
#5962D7 #D75962 #62D759
tetradic
#5962D7 #D759A1 #D7CE59 #59D78F
square
#5962D7 #D759A1 #D7CE59 #59D78F
split-complementary
#5962D7 #D78F59 #A1D759
monochromatic
#232B92 #2F3AC4 #5962D7 #8A91E3 #BCBFEF
Accessibility & contrast
On white
5.06
#5962D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5962D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962D7
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962D7 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E74DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5962d7; /* rgb */ color: rgb(89, 98, 215); /* oklch */ color: oklch(55.2% 0.177 275.7);
Tailwind
colors: {
custom: {
50: '#938ee4',
500: '#5962d7',
950: '#000000',
},
}SCSS
$custom: #5962d7; $custom-light: #938ee4; $custom-dark: #000000;
JSON
{
"hex": "#5962d7",
"rgb": {
"r": 89,
"g": 98,
"b": 215
},
"hsl": {
"h": 235.714,
"s": 61.165,
"l": 59.608
},
"oklch": {
"l": 0.55237,
"c": 0.17695,
"h": 275.7
},
"luminance": 0.15766
}Semantic roles & 50–950 ramp
primary
#5962D7
secondary
#DEDBAD
accent
#D944E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84