#5654CA#5654CA
#5654CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.178 H 278.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5654CA |
|---|---|
| RGB | rgb(86, 84, 202) |
| HSL | hsl(241, 53%, 56%) |
| HSV | hsv(241, 58%, 79%) |
| CMYK | cmyk(57.4%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.13, 34.80, -61.31) |
| CIE-LCH | lch(42.13, 70.50, 299.58°) |
| OKLab | oklab(51.52% 0.0275 -0.176) |
| OKLCH | oklch(51.52% 0.178 278.9) |
| XYZ | xyz(17.6654, 12.5821, 57.3634) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.40
Warm Blue
#4B57DB
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5654CA #C8CA54
analogous
#548DCA #5654CA #9154CA
triadic
#5654CA #CA5654 #54CA56
tetradic
#5654CA #CA548D #C8CA54 #54CA91
square
#5654CA #CA548D #C8CA54 #54CA91
split-complementary
#5654CA #CA9154 #8DCA54
monochromatic
#28277D #3735AC #5654CA #8483D8 #B2B1E7
Accessibility & contrast
On white
5.97
#5654CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5654CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5654CA
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5654CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5654CA | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#0E7087
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5654ca; /* rgb */ color: rgb(86, 84, 202); /* oklch */ color: oklch(51.5% 0.178 278.9);
Tailwind
colors: {
custom: {
50: '#9084db',
500: '#5654ca',
950: '#000000',
},
}SCSS
$custom: #5654ca; $custom-light: #9084db; $custom-dark: #000000;
JSON
{
"hex": "#5654ca",
"rgb": {
"r": 86,
"g": 84,
"b": 202
},
"hsl": {
"h": 241.017,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.5152,
"c": 0.17812,
"h": 278.9
},
"luminance": 0.12583
}Semantic roles & 50–950 ramp
primary
#5654CA
secondary
#D4D5A5
accent
#DC4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83