#5454BB#5454BB
#5454BB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.158 H 279.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5454BB |
|---|---|
| RGB | rgb(84, 84, 187) |
| HSL | hsl(240, 43%, 53%) |
| HSV | hsv(240, 55%, 73%) |
| CMYK | cmyk(55.1%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.92, 29.55, -54.56) |
| CIE-LCH | lch(40.92, 62.05, 298.44°) |
| OKLab | oklab(50.25% 0.0249 -0.1562) |
| OKLCH | oklch(50.25% 0.158 279.1) |
| XYZ | xyz(15.7933, 11.8123, 48.4519) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.90
Warm Blue
#4B57DB
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.40
Light Indigo
#6D5ACF
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5454BB #BBBB54
analogous
#5487BB #5454BB #8754BB
triadic
#5454BB #BB5454 #54BB54
tetradic
#5454BB #BB5487 #BBBB54 #54BB87
square
#5454BB #BB5487 #BBBB54 #54BB87
split-complementary
#5454BB #BB8754 #87BB54
monochromatic
#2A2A6A #3C3C96 #5454BB #8080CC #ACACDE
Accessibility & contrast
On white
6.25
#5454BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5454BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5454BB
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5454BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5454BB | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#226C7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5454bb; /* rgb */ color: rgb(84, 84, 187); /* oklch */ color: oklch(50.2% 0.158 279.1);
Tailwind
colors: {
custom: {
50: '#8d84d0',
500: '#5454bb',
950: '#000000',
},
}SCSS
$custom: #5454bb; $custom-light: #8d84d0; $custom-dark: #000000;
JSON
{
"hex": "#5454bb",
"rgb": {
"r": 84,
"g": 84,
"b": 187
},
"hsl": {
"h": 240,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.50247,
"c": 0.15816,
"h": 279.1
},
"luminance": 0.11813
}Semantic roles & 50–950 ramp
primary
#5454BB
secondary
#CCCC9F
accent
#D355D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82