#5962CD#5962CD
#5962CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.163 H 275.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5962CD |
|---|---|
| RGB | rgb(89, 98, 205) |
| HSL | hsl(235, 54%, 58%) |
| HSV | hsv(235, 57%, 80%) |
| CMYK | cmyk(56.6%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.00, 27.69, -56.77) |
| CIE-LCH | lch(46.00, 63.17, 296.00°) |
| OKLab | oklab(54.52% 0.0169 -0.1624) |
| OKLCH | oklch(54.52% 0.163 275.9) |
| XYZ | xyz(19.5034, 15.2656, 59.6646) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.83
Warm Blue
#4B57DB
ΔE00 4.03
Iris
#6258C4
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962CD #CDC459
analogous
#599CCD #5962CD #8A59CD
triadic
#5962CD #CD5962 #62CD59
tetradic
#5962CD #CD599C #CDC459 #59CD8A
square
#5962CD #CD599C #CDC459 #59CD8A
split-complementary
#5962CD #CD8A59 #9CCD59
monochromatic
#282F84 #3640B3 #5962CD #888EDB #B7BBE9
Accessibility & contrast
On white
5.18
#5962CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5962CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962CD
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962CD | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#0968CB
Tritanopia (blue-blind)
#147A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5962cd; /* rgb */ color: rgb(89, 98, 205); /* oklch */ color: oklch(54.5% 0.163 275.9);
Tailwind
colors: {
custom: {
50: '#918edd',
500: '#5962cd',
950: '#000000',
},
}SCSS
$custom: #5962cd; $custom-light: #918edd; $custom-dark: #000000;
JSON
{
"hex": "#5962cd",
"rgb": {
"r": 89,
"g": 98,
"b": 205
},
"hsl": {
"h": 235.345,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.54524,
"c": 0.16332,
"h": 275.9
},
"luminance": 0.15267
}Semantic roles & 50–950 ramp
primary
#5962CD
secondary
#D8D5AA
accent
#D24BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83