#5662BB#5662BB
#5662BB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.139 H 274.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5662BB |
|---|---|
| RGB | rgb(86, 98, 187) |
| HSL | hsl(233, 43%, 54%) |
| HSV | hsv(233, 54%, 73%) |
| CMYK | cmyk(54%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(44.66, 21.19, -48.53) |
| CIE-LCH | lch(44.66, 52.96, 293.59°) |
| OKLab | oklab(53.1% 0.0118 -0.1383) |
| OKLCH | oklch(53.1% 0.139 274.9) |
| XYZ | xyz(17.1722, 14.3005, 48.8595) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.81
Iris
#6258C4
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 5.68
Slate Blue
#6A5ACD
ΔE00 5.88
Royal Blue
#4169E1
ΔE00 6.29
French Blue
#436BAD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662BB #BBAF56
analogous
#5694BB #5662BB #7C56BB
triadic
#5662BB #BB5662 #62BB56
tetradic
#5662BB #BB5694 #BBAF56 #56BB7C
square
#5662BB #BB5694 #BBAF56 #56BB7C
split-complementary
#5662BB #BB7C56 #94BB56
monochromatic
#2B336B #3D4797 #5662BB #828BCD #ADB3DE
Accessibility & contrast
On white
5.44
#5662BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5662BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662BB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662BB | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#257685
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5662bb; /* rgb */ color: rgb(86, 98, 187); /* oklch */ color: oklch(53.1% 0.139 274.9);
Tailwind
colors: {
custom: {
50: '#8d8ed0',
500: '#5662bb',
950: '#000000',
},
}SCSS
$custom: #5662bb; $custom-light: #8d8ed0; $custom-dark: #000000;
JSON
{
"hex": "#5662bb",
"rgb": {
"r": 86,
"g": 98,
"b": 187
},
"hsl": {
"h": 232.871,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.531,
"c": 0.13877,
"h": 274.9
},
"luminance": 0.14302
}Semantic roles & 50–950 ramp
primary
#5662BB
secondary
#CCC7A1
accent
#C455D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82