#5451BB#5451BB
#5451BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.162 H 280.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5451BB |
|---|---|
| RGB | rgb(84, 81, 187) |
| HSL | hsl(242, 44%, 53%) |
| HSV | hsv(242, 57%, 73%) |
| CMYK | cmyk(55.1%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(40.17, 31.42, -55.76) |
| CIE-LCH | lch(40.17, 64.00, 299.40°) |
| OKLab | oklab(49.7% 0.0281 -0.1597) |
| OKLCH | oklch(49.7% 0.162 280) |
| XYZ | xyz(15.5654, 11.3565, 48.3759) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.23
Ocean Blue
#4F42B5
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451BB #B8BB51
analogous
#5183BB #5451BB #8951BB
triadic
#5451BB #BB5451 #51BB54
tetradic
#5451BB #BB5183 #B8BB51 #51BB89
square
#5451BB #BB5183 #B8BB51 #51BB89
split-complementary
#5451BB #BB8951 #83BB51
monochromatic
#2B2969 #3D3A95 #5451BB #7F7DCC #AAA9DD
Accessibility & contrast
On white
6.42
#5451BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5451BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451BB
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451BB | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#226A7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5451bb; /* rgb */ color: rgb(84, 81, 187); /* oklch */ color: oklch(49.7% 0.162 280.0);
Tailwind
colors: {
custom: {
50: '#8d82d0',
500: '#5451bb',
950: '#000000',
},
}SCSS
$custom: #5451bb; $custom-light: #8d82d0; $custom-dark: #000000;
JSON
{
"hex": "#5451bb",
"rgb": {
"r": 84,
"g": 81,
"b": 187
},
"hsl": {
"h": 241.698,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.49695,
"c": 0.16218,
"h": 280
},
"luminance": 0.11358
}Semantic roles & 50–950 ramp
primary
#5451BB
secondary
#CACB9D
accent
#D454D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82