#5662CA#5662CA
#5662CA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.160 H 274.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5662CA |
|---|---|
| RGB | rgb(86, 98, 202) |
| HSL | hsl(234, 52%, 56%) |
| HSV | hsv(234, 57%, 79%) |
| CMYK | cmyk(57.4%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(45.60, 26.12, -55.69) |
| CIE-LCH | lch(45.60, 61.51, 295.13°) |
| OKLab | oklab(54.11% 0.0133 -0.1593) |
| OKLCH | oklch(54.11% 0.16 274.8) |
| XYZ | xyz(18.8626, 14.9767, 57.7625) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 4.15
Iris
#6258C4
ΔE00 4.48
Royal Blue
#4169E1
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662CA #CABE56
analogous
#569CCA #5662CA #8456CA
triadic
#5662CA #CA5662 #62CA56
tetradic
#5662CA #CA569C #CABE56 #56CA84
square
#5662CA #CA569C #CABE56 #56CA84
split-complementary
#5662CA #CA8456 #9CCA56
monochromatic
#28307E #3642AD #5662CA #858DD9 #B3B9E7
Accessibility & contrast
On white
5.26
#5662CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5662CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662CA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662CA | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#067A8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5662ca; /* rgb */ color: rgb(86, 98, 202); /* oklch */ color: oklch(54.1% 0.160 274.8);
Tailwind
colors: {
custom: {
50: '#8f8edb',
500: '#5662ca',
950: '#000000',
},
}SCSS
$custom: #5662ca; $custom-light: #8f8edb; $custom-dark: #000000;
JSON
{
"hex": "#5662ca",
"rgb": {
"r": 86,
"g": 98,
"b": 202
},
"hsl": {
"h": 233.793,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.54114,
"c": 0.1599,
"h": 274.8
},
"luminance": 0.14978
}Semantic roles & 50–950 ramp
primary
#5662CA
secondary
#D6D1A6
accent
#CD4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83