#5451C4#5451C4
#5451C4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.174 H 279.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5451C4 |
|---|---|
| RGB | rgb(84, 81, 196) |
| HSL | hsl(242, 49%, 54%) |
| HSV | hsv(242, 59%, 77%) |
| CMYK | cmyk(57.1%, 58.7%, 0%, 23.1%) |
| CIE-LAB | lab(40.82, 34.33, -59.96) |
| CIE-LCH | lch(40.82, 69.09, 299.80°) |
| OKLab | oklab(50.38% 0.0281 -0.1721) |
| OKLCH | oklch(50.38% 0.174 279.3) |
| XYZ | xyz(16.5592, 11.7541, 53.6100) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 4.80
Light Indigo
#6D5ACF
ΔE00 5.06
Dark Periwinkle
#665FD1
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451C4 #C1C451
analogous
#5188C4 #5451C4 #8E51C4
triadic
#5451C4 #C45451 #51C454
tetradic
#5451C4 #C45188 #C1C451 #51C48E
square
#5451C4 #C45188 #C1C451 #51C48E
split-complementary
#5451C4 #C48E51 #88C451
monochromatic
#292773 #3937A1 #5451C4 #817FD3 #AEACE3
Accessibility & contrast
On white
6.27
#5451C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5451C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451C4
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451C4 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#136C82
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5451c4; /* rgb */ color: rgb(84, 81, 196); /* oklch */ color: oklch(50.4% 0.174 279.3);
Tailwind
colors: {
custom: {
50: '#8e82d7',
500: '#5451c4',
950: '#000000',
},
}SCSS
$custom: #5451c4; $custom-light: #8e82d7; $custom-dark: #000000;
JSON
{
"hex": "#5451c4",
"rgb": {
"r": 84,
"g": 81,
"b": 196
},
"hsl": {
"h": 241.565,
"s": 49.356,
"l": 54.314
},
"oklch": {
"l": 0.5038,
"c": 0.17436,
"h": 279.3
},
"luminance": 0.11755
}Semantic roles & 50–950 ramp
primary
#5451C4
secondary
#D0D1A0
accent
#D94FD5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83