#5954BC#5954BC
#5954BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.159 H 281.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5954BC |
|---|---|
| RGB | rgb(89, 84, 188) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 55%, 74%) |
| CMYK | cmyk(52.7%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(41.37, 30.89, -54.40) |
| CIE-LCH | lch(41.37, 62.56, 299.59°) |
| OKLab | oklab(50.7% 0.031 -0.1556) |
| OKLCH | oklch(50.7% 0.159 281.3) |
| XYZ | xyz(16.3645, 12.0944, 49.0394) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.17
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5954BC #B7BC54
analogous
#5483BC #5954BC #8D54BC
triadic
#5954BC #BC5954 #54BC59
tetradic
#5954BC #BC5483 #B7BC54 #54BC8D
square
#5954BC #BC5483 #B7BC54 #54BC8D
split-complementary
#5954BC #BC8D54 #83BC54
monochromatic
#2D2A6B #403B97 #5954BC #8480CD #AEACDE
Accessibility & contrast
On white
6.14
#5954BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5954BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5954BC
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5954BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5954BC | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#2F6C80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5954bc; /* rgb */ color: rgb(89, 84, 188); /* oklch */ color: oklch(50.7% 0.159 281.3);
Tailwind
colors: {
custom: {
50: '#8f84d1',
500: '#5954bc',
950: '#000000',
},
}SCSS
$custom: #5954bc; $custom-light: #8f84d1; $custom-dark: #000000;
JSON
{
"hex": "#5954bc",
"rgb": {
"r": 89,
"g": 84,
"b": 188
},
"hsl": {
"h": 242.885,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.507,
"c": 0.15864,
"h": 281.3
},
"luminance": 0.12095
}Semantic roles & 50–950 ramp
primary
#5954BC
secondary
#CACCA0
accent
#D354CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82