#5662CD#5662CD
#5662CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.164 H 274.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5662CD |
|---|---|
| RGB | rgb(86, 98, 205) |
| HSL | hsl(234, 54%, 57%) |
| HSV | hsv(234, 58%, 80%) |
| CMYK | cmyk(58%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.80, 27.11, -57.10) |
| CIE-LCH | lch(45.80, 63.21, 295.40°) |
| OKLab | oklab(54.32% 0.0136 -0.1635) |
| OKLCH | oklch(54.32% 0.164 274.7) |
| XYZ | xyz(19.2213, 15.1201, 59.6514) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.94
Iris
#6258C4
ΔE00 4.54
Royal Blue
#4169E1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662CD #CDC156
analogous
#569DCD #5662CD #8656CD
triadic
#5662CD #CD5662 #62CD56
tetradic
#5662CD #CD569D #CDC156 #56CD86
square
#5662CD #CD569D #CDC156 #56CD86
split-complementary
#5662CD #CD8656 #9DCD56
monochromatic
#263082 #3441B1 #5662CD #858EDB #B4BAE9
Accessibility & contrast
On white
5.22
#5662CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5662CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662CD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662CD | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5662cd; /* rgb */ color: rgb(86, 98, 205); /* oklch */ color: oklch(54.3% 0.164 274.7);
Tailwind
colors: {
custom: {
50: '#908edd',
500: '#5662cd',
950: '#000000',
},
}SCSS
$custom: #5662cd; $custom-light: #908edd; $custom-dark: #000000;
JSON
{
"hex": "#5662cd",
"rgb": {
"r": 86,
"g": 98,
"b": 205
},
"hsl": {
"h": 233.95,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.54324,
"c": 0.16404,
"h": 274.7
},
"luminance": 0.15122
}Semantic roles & 50–950 ramp
primary
#5662CD
secondary
#D8D3A7
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83