#5451AF#5451AF
#5451AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.146 H 281.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5451AF |
|---|---|
| RGB | rgb(84, 81, 175) |
| HSL | hsl(242, 37%, 50%) |
| HSV | hsv(242, 54%, 69%) |
| CMYK | cmyk(52%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(39.35, 27.56, -50.03) |
| CIE-LCH | lch(39.35, 57.12, 298.85°) |
| OKLab | oklab(48.82% 0.0277 -0.1429) |
| OKLCH | oklch(48.82% 0.146 281) |
| XYZ | xyz(14.3341, 10.8640, 41.8908) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.26
Ocean Blue
#4F42B5
ΔE00 4.67
Blueberry
#464196
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.21
Twilight
#4E518B
ΔE00 6.49
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451AF #ACAF51
analogous
#517DAF #5451AF #8351AF
triadic
#5451AF #AF5451 #51AF54
tetradic
#5451AF #AF517D #ACAF51 #51AF83
square
#5451AF #AF517D #ACAF51 #51AF83
split-complementary
#5451AF #AF8351 #7DAF51
monochromatic
#2C2A5C #403D85 #5451AF #7D7BC2 #A6A5D6
Accessibility & contrast
On white
6.62
#5451AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5451AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451AF
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451AF | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#2F6678
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5451af; /* rgb */ color: rgb(84, 81, 175); /* oklch */ color: oklch(48.8% 0.146 281.0);
Tailwind
colors: {
custom: {
50: '#8b82c7',
500: '#5451af',
950: '#000000',
},
}SCSS
$custom: #5451af; $custom-light: #8b82c7; $custom-dark: #000000;
JSON
{
"hex": "#5451af",
"rgb": {
"r": 84,
"g": 81,
"b": 175
},
"hsl": {
"h": 241.915,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.48819,
"c": 0.14555,
"h": 281
},
"luminance": 0.10865
}Semantic roles & 50–950 ramp
primary
#5451AF
secondary
#C2C399
accent
#CD5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82