#5954BF#5954BF
#5954BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.163 H 281.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5954BF |
|---|---|
| RGB | rgb(89, 84, 191) |
| HSL | hsl(243, 46%, 54%) |
| HSV | hsv(243, 56%, 75%) |
| CMYK | cmyk(53.4%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(41.57, 31.84, -55.82) |
| CIE-LCH | lch(41.57, 64.26, 299.70°) |
| OKLab | oklab(50.92% 0.0311 -0.1597) |
| OKLCH | oklch(50.92% 0.163 281) |
| XYZ | xyz(16.6912, 12.2251, 50.7603) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.98
Slate Blue
#6A5ACD
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5954BF #BABF54
analogous
#5485BF #5954BF #8F54BF
triadic
#5954BF #BF5954 #54BF59
tetradic
#5954BF #BF5485 #BABF54 #54BF8F
square
#5954BF #BF5485 #BABF54 #54BF8F
split-complementary
#5954BF #BF8F54 #85BF54
monochromatic
#2D2A6F #3F3A9C #5954BF #8481D0 #AFADE0
Accessibility & contrast
On white
6.10
#5954BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5954BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5954BF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5954BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5954BF | 1.00 | 6.10 | 3.45 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#2C6D81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5954bf; /* rgb */ color: rgb(89, 84, 191); /* oklch */ color: oklch(50.9% 0.163 281.0);
Tailwind
colors: {
custom: {
50: '#9084d3',
500: '#5954bf',
950: '#000000',
},
}SCSS
$custom: #5954bf; $custom-light: #9084d3; $custom-dark: #000000;
JSON
{
"hex": "#5954bf",
"rgb": {
"r": 89,
"g": 84,
"b": 191
},
"hsl": {
"h": 242.804,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.50919,
"c": 0.16274,
"h": 281
},
"luminance": 0.12226
}Semantic roles & 50–950 ramp
primary
#5954BF
secondary
#CCCEA1
accent
#D553CF
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83