#5451C8#5451C8
#5451C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.180 H 279.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5451C8 |
|---|---|
| RGB | rgb(84, 81, 200) |
| HSL | hsl(242, 52%, 55%) |
| HSV | hsv(242, 60%, 78%) |
| CMYK | cmyk(58%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.12, 35.63, -61.80) |
| CIE-LCH | lch(41.12, 71.33, 299.96°) |
| OKLab | oklab(50.69% 0.028 -0.1775) |
| OKLCH | oklch(50.69% 0.18 279) |
| XYZ | xyz(17.0206, 11.9386, 56.0399) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 3.42
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451C8 #C5C851
analogous
#5189C8 #5451C8 #9051C8
triadic
#5451C8 #C85451 #51C854
tetradic
#5451C8 #C85189 #C5C851 #51C890
square
#5451C8 #C85189 #C5C851 #51C890
split-complementary
#5451C8 #C89051 #89C851
monochromatic
#282679 #3835A7 #5451C8 #8280D7 #AFAEE5
Accessibility & contrast
On white
6.20
#5451C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5451C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451C8
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451C8 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#066E85
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5451c8; /* rgb */ color: rgb(84, 81, 200); /* oklch */ color: oklch(50.7% 0.180 279.0);
Tailwind
colors: {
custom: {
50: '#8f82da',
500: '#5451c8',
950: '#000000',
},
}SCSS
$custom: #5451c8; $custom-light: #8f82da; $custom-dark: #000000;
JSON
{
"hex": "#5451c8",
"rgb": {
"r": 84,
"g": 81,
"b": 200
},
"hsl": {
"h": 241.513,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.50692,
"c": 0.17968,
"h": 279
},
"luminance": 0.1194
}Semantic roles & 50–950 ramp
primary
#5451C8
secondary
#D2D3A1
accent
#DB4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83