#5651CB#5651CB
#5651CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.183 H 279.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5651CB |
|---|---|
| RGB | rgb(86, 81, 203) |
| HSL | hsl(242, 54%, 56%) |
| HSV | hsv(242, 60%, 80%) |
| CMYK | cmyk(57.6%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.49, 36.95, -62.92) |
| CIE-LCH | lch(41.49, 72.97, 300.42°) |
| OKLab | oklab(51.08% 0.0303 -0.1807) |
| OKLCH | oklch(51.08% 0.183 279.5) |
| XYZ | xyz(17.5563, 12.1739, 57.9130) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 3.28
Slate Blue
#6A5ACD
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.81
Bluey Purple
#6241C7
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651CB #C6CB51
analogous
#5189CB #5651CB #9351CB
triadic
#5651CB #CB5651 #51CB56
tetradic
#5651CB #CB5189 #C6CB51 #51CB93
square
#5651CB #CB5189 #C6CB51 #51CB93
split-complementary
#5651CB #CB9351 #89CB51
monochromatic
#29257C #3833AC #5651CB #8480D9 #B2AFE7
Accessibility & contrast
On white
6.11
#5651CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5651CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651CB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651CB | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#0C6F86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5651cb; /* rgb */ color: rgb(86, 81, 203); /* oklch */ color: oklch(51.1% 0.183 279.5);
Tailwind
colors: {
custom: {
50: '#9082dc',
500: '#5651cb',
950: '#000000',
},
}SCSS
$custom: #5651cb; $custom-light: #9082dc; $custom-dark: #000000;
JSON
{
"hex": "#5651cb",
"rgb": {
"r": 86,
"g": 81,
"b": 203
},
"hsl": {
"h": 242.459,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.51075,
"c": 0.18327,
"h": 279.5
},
"luminance": 0.12175
}Semantic roles & 50–950 ramp
primary
#5651CB
secondary
#D3D5A3
accent
#DD4AD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83