#5954BB#5954BB
#5954BB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.157 H 281.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5954BB |
|---|---|
| RGB | rgb(89, 84, 187) |
| HSL | hsl(243, 43%, 53%) |
| HSV | hsv(243, 55%, 73%) |
| CMYK | cmyk(52.4%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.30, 30.57, -53.92) |
| CIE-LCH | lch(41.30, 61.99, 299.55°) |
| OKLab | oklab(50.63% 0.031 -0.1542) |
| OKLCH | oklch(50.63% 0.157 281.4) |
| XYZ | xyz(16.2570, 12.0514, 48.4736) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.26
Slate Blue
#6A5ACD
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5954BB #B6BB54
analogous
#5482BB #5954BB #8D54BB
triadic
#5954BB #BB5954 #54BB59
tetradic
#5954BB #BB5482 #B6BB54 #54BB8D
square
#5954BB #BB5482 #B6BB54 #54BB8D
split-complementary
#5954BB #BB8D54 #82BB54
monochromatic
#2D2A6A #403C96 #5954BB #8480CC #AEACDE
Accessibility & contrast
On white
6.16
#5954BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5954BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5954BB
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5954BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5954BB | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#306B7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5954bb; /* rgb */ color: rgb(89, 84, 187); /* oklch */ color: oklch(50.6% 0.157 281.4);
Tailwind
colors: {
custom: {
50: '#8f84d0',
500: '#5954bb',
950: '#000000',
},
}SCSS
$custom: #5954bb; $custom-light: #8f84d0; $custom-dark: #000000;
JSON
{
"hex": "#5954bb",
"rgb": {
"r": 89,
"g": 84,
"b": 187
},
"hsl": {
"h": 242.913,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.50628,
"c": 0.15726,
"h": 281.4
},
"luminance": 0.12052
}Semantic roles & 50–950 ramp
primary
#5954BB
secondary
#C9CC9F
accent
#D355CD
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82