#5651BD#5651BD
#5651BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.165 H 280.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5651BD |
|---|---|
| RGB | rgb(86, 81, 189) |
| HSL | hsl(243, 45%, 53%) |
| HSV | hsv(243, 57%, 74%) |
| CMYK | cmyk(54.5%, 57.1%, 0%, 25.9%) |
| CIE-LAB | lab(40.47, 32.46, -56.44) |
| CIE-LCH | lch(40.47, 65.11, 299.90°) |
| OKLab | oklab(50% 0.0306 -0.1617) |
| OKLCH | oklch(50% 0.165 280.7) |
| XYZ | xyz(15.9626, 11.5364, 49.5199) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.91
Ocean Blue
#4F42B5
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.72
Warm Blue
#4B57DB
ΔE00 4.80
Light Indigo
#6D5ACF
ΔE00 5.24
Bluey Purple
#6241C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651BD #B8BD51
analogous
#5182BD #5651BD #8C51BD
triadic
#5651BD #BD5651 #51BD56
tetradic
#5651BD #BD5182 #B8BD51 #51BD8C
square
#5651BD #BD5182 #B8BD51 #51BD8C
split-complementary
#5651BD #BD8C51 #82BD51
monochromatic
#2C296B #3E3997 #5651BD #817DCE #ACAADF
Accessibility & contrast
On white
6.35
#5651BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5651BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651BD
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651BD | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#266A7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5651bd; /* rgb */ color: rgb(86, 81, 189); /* oklch */ color: oklch(50.0% 0.165 280.7);
Tailwind
colors: {
custom: {
50: '#8e82d2',
500: '#5651bd',
950: '#000000',
},
}SCSS
$custom: #5651bd; $custom-light: #8e82d2; $custom-dark: #000000;
JSON
{
"hex": "#5651bd",
"rgb": {
"r": 86,
"g": 81,
"b": 189
},
"hsl": {
"h": 242.778,
"s": 45,
"l": 52.941
},
"oklch": {
"l": 0.49998,
"c": 0.16456,
"h": 280.7
},
"luminance": 0.11537
}Semantic roles & 50–950 ramp
primary
#5651BD
secondary
#CACC9E
accent
#D553CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83