#5654CE#5654CE
#5654CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.183 H 278.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5654CE |
|---|---|
| RGB | rgb(86, 84, 206) |
| HSL | hsl(241, 55%, 57%) |
| HSV | hsv(241, 59%, 81%) |
| CMYK | cmyk(58.3%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.42, 36.09, -63.14) |
| CIE-LCH | lch(42.42, 72.73, 299.75°) |
| OKLab | oklab(51.83% 0.0274 -0.1814) |
| OKLCH | oklch(51.83% 0.183 278.6) |
| XYZ | xyz(18.1451, 12.7740, 59.8900) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.47
Iris
#6258C4
ΔE00 2.63
Slate Blue
#6A5ACD
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5654CE #CCCE54
analogous
#548FCE #5654CE #9354CE
triadic
#5654CE #CE5654 #54CE56
tetradic
#5654CE #CE548F #CCCE54 #54CE93
square
#5654CE #CE548F #CCCE54 #54CE93
split-complementary
#5654CE #CE9354 #8FCE54
monochromatic
#272582 #3533B2 #5654CE #8584DC #B4B3E9
Accessibility & contrast
On white
5.91
#5654CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5654CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5654CE
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5654CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5654CE | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5654ce; /* rgb */ color: rgb(86, 84, 206); /* oklch */ color: oklch(51.8% 0.183 278.6);
Tailwind
colors: {
custom: {
50: '#9184de',
500: '#5654ce',
950: '#000000',
},
}SCSS
$custom: #5654ce; $custom-light: #9184de; $custom-dark: #000000;
JSON
{
"hex": "#5654ce",
"rgb": {
"r": 86,
"g": 84,
"b": 206
},
"hsl": {
"h": 240.984,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.5183,
"c": 0.18343,
"h": 278.6
},
"luminance": 0.12775
}Semantic roles & 50–950 ramp
primary
#5654CE
secondary
#D7D8A6
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83