#5854BB#5854BB
#5854BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.157 H 280.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5854BB |
|---|---|
| RGB | rgb(88, 84, 187) |
| HSL | hsl(242, 43%, 53%) |
| HSV | hsv(242, 55%, 73%) |
| CMYK | cmyk(52.9%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.22, 30.37, -54.05) |
| CIE-LCH | lch(41.22, 62.00, 299.33°) |
| OKLab | oklab(50.55% 0.0298 -0.1546) |
| OKLCH | oklch(50.55% 0.157 280.9) |
| XYZ | xyz(16.1617, 12.0023, 48.4691) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 4.33
Warm Blue
#4B57DB
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.90
Dark Periwinkle
#665FD1
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5854BB #B7BB54
analogous
#5483BB #5854BB #8B54BB
triadic
#5854BB #BB5854 #54BB58
tetradic
#5854BB #BB5483 #B7BB54 #54BB8B
square
#5854BB #BB5483 #B7BB54 #54BB8B
split-complementary
#5854BB #BB8B54 #83BB54
monochromatic
#2D2A6A #3F3C96 #5854BB #8380CC #AEACDE
Accessibility & contrast
On white
6.18
#5854BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5854BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5854BB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5854BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5854BB | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#2E6B7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5854bb; /* rgb */ color: rgb(88, 84, 187); /* oklch */ color: oklch(50.5% 0.157 280.9);
Tailwind
colors: {
custom: {
50: '#8f84d0',
500: '#5854bb',
950: '#000000',
},
}SCSS
$custom: #5854bb; $custom-light: #8f84d0; $custom-dark: #000000;
JSON
{
"hex": "#5854bb",
"rgb": {
"r": 88,
"g": 84,
"b": 187
},
"hsl": {
"h": 242.33,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.5055,
"c": 0.15742,
"h": 280.9
},
"luminance": 0.12003
}Semantic roles & 50–950 ramp
primary
#5854BB
secondary
#CACC9F
accent
#D355CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82