#5662BD#5662BD
#5662BD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.142 H 274.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5662BD |
|---|---|
| RGB | rgb(86, 98, 189) |
| HSL | hsl(233, 44%, 54%) |
| HSV | hsv(233, 54%, 74%) |
| CMYK | cmyk(54.5%, 48.1%, 0%, 25.9%) |
| CIE-LAB | lab(44.78, 21.85, -49.50) |
| CIE-LCH | lch(44.78, 54.10, 293.81°) |
| OKLab | oklab(53.23% 0.0121 -0.1411) |
| OKLCH | oklch(53.23% 0.142 274.9) |
| XYZ | xyz(17.3878, 14.3867, 49.9949) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.59
Iris
#6258C4
ΔE00 4.74
Warm Blue
#4B57DB
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.72
Royal Blue
#4169E1
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662BD #BDB156
analogous
#5696BD #5662BD #7E56BD
triadic
#5662BD #BD5662 #62BD56
tetradic
#5662BD #BD5696 #BDB156 #56BD7E
square
#5662BD #BD5696 #BDB156 #56BD7E
split-complementary
#5662BD #BD7E56 #96BD56
monochromatic
#2B336E #3C479A #5662BD #828BCE #AEB4DF
Accessibility & contrast
On white
5.42
#5662BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5662BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662BD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662BD | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#237686
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5662bd; /* rgb */ color: rgb(86, 98, 189); /* oklch */ color: oklch(53.2% 0.142 274.9);
Tailwind
colors: {
custom: {
50: '#8d8ed1',
500: '#5662bd',
950: '#000000',
},
}SCSS
$custom: #5662bd; $custom-light: #8d8ed1; $custom-dark: #000000;
JSON
{
"hex": "#5662bd",
"rgb": {
"r": 86,
"g": 98,
"b": 189
},
"hsl": {
"h": 233.01,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.53232,
"c": 0.14163,
"h": 274.9
},
"luminance": 0.14388
}Semantic roles & 50–950 ramp
primary
#5662BD
secondary
#CDC8A1
accent
#C554D4
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82