#5654AE#5654AE
#5654AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.140 H 281.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5654AE |
|---|---|
| RGB | rgb(86, 84, 174) |
| HSL | hsl(241, 36%, 51%) |
| HSV | hsv(241, 52%, 68%) |
| CMYK | cmyk(50.6%, 51.7%, 0%, 31.8%) |
| CIE-LAB | lab(40.20, 25.80, -48.06) |
| CIE-LCH | lch(40.20, 54.55, 298.23°) |
| OKLab | oklab(49.48% 0.0266 -0.137) |
| OKLCH | oklch(49.48% 0.14 281) |
| XYZ | xyz(14.6457, 11.3743, 41.4599) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.95
Twilight
#4E518B
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.50
Dark Periwinkle
#665FD1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5654AE #ACAE54
analogous
#547FAE #5654AE #8354AE
triadic
#5654AE #AE5654 #54AE56
tetradic
#5654AE #AE547F #ACAE54 #54AE83
square
#5654AE #AE547F #ACAE54 #54AE83
split-complementary
#5654AE #AE8354 #7FAE54
monochromatic
#2D2C5C #413F86 #5654AE #7F7EC2 #A8A7D5
Accessibility & contrast
On white
6.41
#5654AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5654AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5654AE
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5654AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5654AE | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#346879
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5654ae; /* rgb */ color: rgb(86, 84, 174); /* oklch */ color: oklch(49.5% 0.140 281.0);
Tailwind
colors: {
custom: {
50: '#8c84c7',
500: '#5654ae',
950: '#000000',
},
}SCSS
$custom: #5654ae; $custom-light: #8c84c7; $custom-dark: #000000;
JSON
{
"hex": "#5654ae",
"rgb": {
"r": 86,
"g": 84,
"b": 174
},
"hsl": {
"h": 241.333,
"s": 35.714,
"l": 50.588
},
"oklch": {
"l": 0.49476,
"c": 0.13957,
"h": 281
},
"luminance": 0.11375
}Semantic roles & 50–950 ramp
primary
#5654AE
secondary
#C2C39B
accent
#CC5CC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82