#5651CD#5651CD
#5651CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.186 H 279.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5651CD |
|---|---|
| RGB | rgb(86, 81, 205) |
| HSL | hsl(242, 55%, 56%) |
| HSV | hsv(242, 60%, 80%) |
| CMYK | cmyk(58%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(41.64, 37.59, -63.83) |
| CIE-LCH | lch(41.64, 74.08, 300.49°) |
| OKLab | oklab(51.23% 0.0303 -0.1834) |
| OKLCH | oklch(51.23% 0.186 279.4) |
| XYZ | xyz(17.7961, 12.2698, 59.1763) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 3.11
Slate Blue
#6A5ACD
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651CD #C8CD51
analogous
#518ACD #5651CD #9451CD
triadic
#5651CD #CD5651 #51CD56
tetradic
#5651CD #CD518A #C8CD51 #51CD94
square
#5651CD #CD518A #C8CD51 #51CD94
split-complementary
#5651CD #CD9451 #8ACD51
monochromatic
#28257F #3732AF #5651CD #8481DB #B2B0E8
Accessibility & contrast
On white
6.08
#5651CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5651CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651CD
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651CD | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#056F87
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5651cd; /* rgb */ color: rgb(86, 81, 205); /* oklch */ color: oklch(51.2% 0.186 279.4);
Tailwind
colors: {
custom: {
50: '#9182dd',
500: '#5651cd',
950: '#000000',
},
}SCSS
$custom: #5651cd; $custom-light: #9182dd; $custom-dark: #000000;
JSON
{
"hex": "#5651cd",
"rgb": {
"r": 86,
"g": 81,
"b": 205
},
"hsl": {
"h": 242.419,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.51233,
"c": 0.1859,
"h": 279.4
},
"luminance": 0.12271
}Semantic roles & 50–950 ramp
primary
#5651CD
secondary
#D4D7A3
accent
#DF49D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83