#5651BB#5651BB
#5651BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.162 H 280.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5651BB |
|---|---|
| RGB | rgb(86, 81, 187) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 57%, 73%) |
| CMYK | cmyk(54%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(40.33, 31.82, -55.50) |
| CIE-LCH | lch(40.33, 63.98, 299.83°) |
| OKLab | oklab(49.85% 0.0306 -0.1589) |
| OKLCH | oklch(49.85% 0.162 280.9) |
| XYZ | xyz(15.7470, 11.4502, 48.3844) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.02
Ocean Blue
#4F42B5
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651BB #B6BB51
analogous
#5181BB #5651BB #8B51BB
triadic
#5651BB #BB5651 #51BB56
tetradic
#5651BB #BB5181 #B6BB51 #51BB8B
square
#5651BB #BB5181 #B6BB51 #51BB8B
split-complementary
#5651BB #BB8B51 #81BB51
monochromatic
#2C2969 #3E3A95 #5651BB #817DCC #ABA9DD
Accessibility & contrast
On white
6.38
#5651BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#5651BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651BB
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651BB | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#28697E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5651bb; /* rgb */ color: rgb(86, 81, 187); /* oklch */ color: oklch(49.8% 0.162 280.9);
Tailwind
colors: {
custom: {
50: '#8e82d0',
500: '#5651bb',
950: '#000000',
},
}SCSS
$custom: #5651bb; $custom-light: #8e82d0; $custom-dark: #000000;
JSON
{
"hex": "#5651bb",
"rgb": {
"r": 86,
"g": 81,
"b": 187
},
"hsl": {
"h": 242.83,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.49848,
"c": 0.16183,
"h": 280.9
},
"luminance": 0.11451
}Semantic roles & 50–950 ramp
primary
#5651BB
secondary
#C9CB9D
accent
#D454CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82