#5654CB#5654CB
#5654CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.179 H 278.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5654CB |
|---|---|
| RGB | rgb(86, 84, 203) |
| HSL | hsl(241, 53%, 56%) |
| HSV | hsv(241, 59%, 80%) |
| CMYK | cmyk(57.6%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.20, 35.12, -61.77) |
| CIE-LCH | lch(42.20, 71.06, 299.62°) |
| OKLab | oklab(51.6% 0.0275 -0.1773) |
| OKLCH | oklch(51.6% 0.179 278.8) |
| XYZ | xyz(17.7841, 12.6296, 57.9890) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.45
Warm Blue
#4B57DB
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.21
Bluey Purple
#6241C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5654CB #C9CB54
analogous
#548ECB #5654CB #9254CB
triadic
#5654CB #CB5654 #54CB56
tetradic
#5654CB #CB548E #C9CB54 #54CB92
square
#5654CB #CB548E #C9CB54 #54CB92
split-complementary
#5654CB #CB9254 #8ECB54
monochromatic
#28267E #3735AD #5654CB #8483D9 #B3B2E8
Accessibility & contrast
On white
5.96
#5654CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5654CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5654CB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5654CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5654CB | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#0B7087
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5654cb; /* rgb */ color: rgb(86, 84, 203); /* oklch */ color: oklch(51.6% 0.179 278.8);
Tailwind
colors: {
custom: {
50: '#9084dc',
500: '#5654cb',
950: '#000000',
},
}SCSS
$custom: #5654cb; $custom-light: #9084dc; $custom-dark: #000000;
JSON
{
"hex": "#5654cb",
"rgb": {
"r": 86,
"g": 84,
"b": 203
},
"hsl": {
"h": 241.008,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.51597,
"c": 0.17945,
"h": 278.8
},
"luminance": 0.12631
}Semantic roles & 50–950 ramp
primary
#5654CB
secondary
#D5D6A5
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83