#5451C5#5451C5
#5451C5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.176 H 279.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5451C5 |
|---|---|
| RGB | rgb(84, 81, 197) |
| HSL | hsl(242, 50%, 55%) |
| HSV | hsv(242, 59%, 77%) |
| CMYK | cmyk(57.4%, 58.9%, 0%, 22.7%) |
| CIE-LAB | lab(40.90, 34.66, -60.42) |
| CIE-LCH | lch(40.90, 69.65, 299.84°) |
| OKLab | oklab(50.46% 0.0281 -0.1734) |
| OKLCH | oklch(50.46% 0.176 279.2) |
| XYZ | xyz(16.6734, 11.7998, 54.2115) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.01
Dark Periwinkle
#665FD1
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451C5 #C2C551
analogous
#5188C5 #5451C5 #8E51C5
triadic
#5451C5 #C55451 #51C554
tetradic
#5451C5 #C55188 #C2C551 #51C58E
square
#5451C5 #C55188 #C2C551 #51C58E
split-complementary
#5451C5 #C58E51 #88C551
monochromatic
#292775 #3936A3 #5451C5 #817FD4 #AEADE4
Accessibility & contrast
On white
6.25
#5451C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5451C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451C5
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451C5 | 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)
#0065C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#106D83
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5451c5; /* rgb */ color: rgb(84, 81, 197); /* oklch */ color: oklch(50.5% 0.176 279.2);
Tailwind
colors: {
custom: {
50: '#8e82d7',
500: '#5451c5',
950: '#000000',
},
}SCSS
$custom: #5451c5; $custom-light: #8e82d7; $custom-dark: #000000;
JSON
{
"hex": "#5451c5",
"rgb": {
"r": 84,
"g": 81,
"b": 197
},
"hsl": {
"h": 241.552,
"s": 50,
"l": 54.51
},
"oklch": {
"l": 0.50458,
"c": 0.1757,
"h": 279.2
},
"luminance": 0.11801
}Semantic roles & 50–950 ramp
primary
#5451C5
secondary
#D0D1A0
accent
#DA4ED6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83