#5451AC#5451AC
#5451AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.141 H 281.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5451AC |
|---|---|
| RGB | rgb(84, 81, 172) |
| HSL | hsl(242, 36%, 50%) |
| HSV | hsv(242, 53%, 67%) |
| CMYK | cmyk(51.2%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(39.15, 26.60, -48.57) |
| CIE-LCH | lch(39.15, 55.38, 298.71°) |
| OKLab | oklab(48.61% 0.0276 -0.1386) |
| OKLCH | oklch(48.61% 0.141 281.2) |
| XYZ | xyz(14.0427, 10.7475, 40.3562) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 4.86
Blueberry
#464196
ΔE00 5.70
Twilight
#4E518B
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.55
Bluey Purple
#6241C7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451AC #A9AC51
analogous
#517CAC #5451AC #8251AC
triadic
#5451AC #AC5451 #51AC54
tetradic
#5451AC #AC517C #A9AC51 #51AC82
square
#5451AC #AC517C #A9AC51 #51AC82
split-complementary
#5451AC #AC8251 #7CAC51
monochromatic
#2B2A59 #403D82 #5451AC #7C7AC0 #A5A3D4
Accessibility & contrast
On white
6.67
#5451AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5451AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451AC
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451AC | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2160AF
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#316576
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5451ac; /* rgb */ color: rgb(84, 81, 172); /* oklch */ color: oklch(48.6% 0.141 281.2);
Tailwind
colors: {
custom: {
50: '#8b82c5',
500: '#5451ac',
950: '#000000',
},
}SCSS
$custom: #5451ac; $custom-light: #8b82c5; $custom-dark: #000000;
JSON
{
"hex": "#5451ac",
"rgb": {
"r": 84,
"g": 81,
"b": 172
},
"hsl": {
"h": 241.978,
"s": 35.968,
"l": 49.608
},
"oklch": {
"l": 0.48607,
"c": 0.14131,
"h": 281.2
},
"luminance": 0.10748
}Semantic roles & 50–950 ramp
primary
#5451AC
secondary
#C0C198
accent
#CC5CC8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82