#5662BC#5662BC
#5662BC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.140 H 274.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5662BC |
|---|---|
| RGB | rgb(86, 98, 188) |
| HSL | hsl(233, 43%, 54%) |
| HSV | hsv(233, 54%, 74%) |
| CMYK | cmyk(54.3%, 47.9%, 0%, 26.3%) |
| CIE-LAB | lab(44.72, 21.52, -49.01) |
| CIE-LCH | lch(44.72, 53.53, 293.70°) |
| OKLab | oklab(53.17% 0.0119 -0.1397) |
| OKLCH | oklch(53.17% 0.14 274.9) |
| XYZ | xyz(17.2796, 14.3435, 49.4252) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.70
Iris
#6258C4
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.80
Royal Blue
#4169E1
ΔE00 6.18
Light Indigo
#6D5ACF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662BC #BCB056
analogous
#5695BC #5662BC #7D56BC
triadic
#5662BC #BC5662 #62BC56
tetradic
#5662BC #BC5695 #BCB056 #56BC7D
square
#5662BC #BC5695 #BCB056 #56BC7D
split-complementary
#5662BC #BC7D56 #95BC56
monochromatic
#2B336D #3C4798 #5662BC #828BCD #AEB3DF
Accessibility & contrast
On white
5.43
#5662BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5662BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662BC
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662BC | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#247686
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5662bc; /* rgb */ color: rgb(86, 98, 188); /* oklch */ color: oklch(53.2% 0.140 274.9);
Tailwind
colors: {
custom: {
50: '#8d8ed1',
500: '#5662bc',
950: '#000000',
},
}SCSS
$custom: #5662bc; $custom-light: #8d8ed1; $custom-dark: #000000;
JSON
{
"hex": "#5662bc",
"rgb": {
"r": 86,
"g": 98,
"b": 188
},
"hsl": {
"h": 232.941,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.53166,
"c": 0.14021,
"h": 274.9
},
"luminance": 0.14345
}Semantic roles & 50–950 ramp
primary
#5662BC
secondary
#CDC8A1
accent
#C455D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82