#5451BC#5451BC
#5451BC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.164 H 279.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5451BC |
|---|---|
| RGB | rgb(84, 81, 188) |
| HSL | hsl(242, 44%, 53%) |
| HSV | hsv(242, 57%, 74%) |
| CMYK | cmyk(55.3%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(40.25, 31.75, -56.23) |
| CIE-LCH | lch(40.25, 64.57, 299.45°) |
| OKLab | oklab(49.77% 0.0281 -0.1611) |
| OKLCH | oklch(49.77% 0.164 279.9) |
| XYZ | xyz(15.6728, 11.3995, 48.9417) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.56
Bluey Purple
#6241C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451BC #B9BC51
analogous
#5184BC #5451BC #8951BC
triadic
#5451BC #BC5451 #51BC54
tetradic
#5451BC #BC5184 #B9BC51 #51BC89
square
#5451BC #BC5184 #B9BC51 #51BC89
split-complementary
#5451BC #BC8951 #84BC51
monochromatic
#2B296A #3C3A96 #5451BC #7F7DCD #ABA9DE
Accessibility & contrast
On white
6.40
#5451BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5451BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451BC
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451BC | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#216A7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5451bc; /* rgb */ color: rgb(84, 81, 188); /* oklch */ color: oklch(49.8% 0.164 279.9);
Tailwind
colors: {
custom: {
50: '#8d82d1',
500: '#5451bc',
950: '#000000',
},
}SCSS
$custom: #5451bc; $custom-light: #8d82d1; $custom-dark: #000000;
JSON
{
"hex": "#5451bc",
"rgb": {
"r": 84,
"g": 81,
"b": 188
},
"hsl": {
"h": 241.682,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.4977,
"c": 0.16354,
"h": 279.9
},
"luminance": 0.11401
}Semantic roles & 50–950 ramp
primary
#5451BC
secondary
#CACC9D
accent
#D454D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82