#5966CD#5966CD
#5966CD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.158 H 274.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5966CD |
|---|---|
| RGB | rgb(89, 102, 205) |
| HSL | hsl(233, 54%, 58%) |
| HSV | hsv(233, 57%, 80%) |
| CMYK | cmyk(56.6%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.02, 25.21, -55.13) |
| CIE-LCH | lch(47.02, 60.62, 294.57°) |
| OKLab | oklab(55.29% 0.0127 -0.1576) |
| OKLCH | oklch(55.29% 0.158 274.6) |
| XYZ | xyz(19.8871, 16.0329, 59.7925) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.79
Royal Blue
#4169E1
ΔE00 4.23
Cornflower Blue
#5170D7
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 5.16
Iris
#6258C4
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5966CD #CDC059
analogous
#59A0CD #5966CD #8659CD
triadic
#5966CD #CD5966 #66CD59
tetradic
#5966CD #CD59A0 #CDC059 #59CD86
square
#5966CD #CD59A0 #CDC059 #59CD86
split-complementary
#5966CD #CD8659 #A0CD59
monochromatic
#283284 #3644B3 #5966CD #8891DB #B7BDE9
Accessibility & contrast
On white
4.99
#5966CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5966CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5966CD
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5966CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5966CD | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#1C6BCB
Tritanopia (blue-blind)
#127D90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5966cd; /* rgb */ color: rgb(89, 102, 205); /* oklch */ color: oklch(55.3% 0.158 274.6);
Tailwind
colors: {
custom: {
50: '#9191dd',
500: '#5966cd',
950: '#000000',
},
}SCSS
$custom: #5966cd; $custom-light: #9191dd; $custom-dark: #000000;
JSON
{
"hex": "#5966cd",
"rgb": {
"r": 89,
"g": 102,
"b": 205
},
"hsl": {
"h": 233.276,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.55293,
"c": 0.15807,
"h": 274.6
},
"luminance": 0.16034
}Semantic roles & 50–950 ramp
primary
#5966CD
secondary
#D8D3AA
accent
#CD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83