#5451C7#5451C7
#5451C7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.178 H 279.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5451C7 |
|---|---|
| RGB | rgb(84, 81, 199) |
| HSL | hsl(242, 51%, 55%) |
| HSV | hsv(242, 59%, 78%) |
| CMYK | cmyk(57.8%, 59.3%, 0%, 22%) |
| CIE-LAB | lab(41.04, 35.30, -61.34) |
| CIE-LCH | lch(41.04, 70.77, 299.92°) |
| OKLab | oklab(50.61% 0.028 -0.1761) |
| OKLCH | oklch(50.61% 0.178 279) |
| XYZ | xyz(16.9041, 11.8920, 55.4264) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.98
Warm Blue
#4B57DB
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451C7 #C4C751
analogous
#5189C7 #5451C7 #8F51C7
triadic
#5451C7 #C75451 #51C754
tetradic
#5451C7 #C75189 #C4C751 #51C78F
square
#5451C7 #C75189 #C4C751 #51C78F
split-complementary
#5451C7 #C78F51 #89C751
monochromatic
#282677 #3835A6 #5451C7 #827FD6 #AFAEE5
Accessibility & contrast
On white
6.22
#5451C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5451C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451C7
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451C7 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#0A6D84
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5451c7; /* rgb */ color: rgb(84, 81, 199); /* oklch */ color: oklch(50.6% 0.178 279.0);
Tailwind
colors: {
custom: {
50: '#8f82d9',
500: '#5451c7',
950: '#000000',
},
}SCSS
$custom: #5451c7; $custom-light: #8f82d9; $custom-dark: #000000;
JSON
{
"hex": "#5451c7",
"rgb": {
"r": 84,
"g": 81,
"b": 199
},
"hsl": {
"h": 241.525,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.50613,
"c": 0.17836,
"h": 279
},
"luminance": 0.11893
}Semantic roles & 50–950 ramp
primary
#5451C7
secondary
#D1D3A1
accent
#DB4DD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83