#51549B#51549B
#51549B is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.113 H 279.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #51549B |
|---|---|
| RGB | rgb(81, 84, 155) |
| HSL | hsl(238, 31%, 46%) |
| HSV | hsv(238, 48%, 61%) |
| CMYK | cmyk(47.7%, 45.8%, 0%, 39.2%) |
| CIE-LAB | lab(38.65, 18.57, -39.25) |
| CIE-LCH | lch(38.65, 43.42, 295.32°) |
| OKLab | oklab(47.83% 0.0184 -0.1113) |
| OKLCH | oklch(47.83% 0.113 279.4) |
| XYZ | xyz(12.4783, 10.4559, 32.3647) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.97
Dusk
#4E5481
ΔE00 5.26
Dusky Blue
#475F94
ΔE00 5.72
Blueberry
#464196
ΔE00 6.06
Denim Blue
#3B5B92
ΔE00 6.72
Iris
#6258C4
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51549B #9B9851
analogous
#51799B #51549B #73519B
triadic
#51549B #9B5154 #549B51
tetradic
#51549B #9B5179 #9B9851 #519B73
square
#51549B #9B5179 #9B9851 #519B73
split-complementary
#51549B #9B7351 #799B51
monochromatic
#27284B #3C3E73 #51549B #7376B6 #9B9DCB
Accessibility & contrast
On white
6.79
#51549B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#51549B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #51549B
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51549B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51549B | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#376370
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #51549b; /* rgb */ color: rgb(81, 84, 155); /* oklch */ color: oklch(47.8% 0.113 279.4);
Tailwind
colors: {
custom: {
50: '#8684b9',
500: '#51549b',
950: '#000000',
},
}SCSS
$custom: #51549b; $custom-light: #8684b9; $custom-dark: #000000;
JSON
{
"hex": "#51549b",
"rgb": {
"r": 81,
"g": 84,
"b": 155
},
"hsl": {
"h": 237.568,
"s": 31.356,
"l": 46.275
},
"oklch": {
"l": 0.47828,
"c": 0.1128,
"h": 279.4
},
"luminance": 0.10457
}Semantic roles & 50–950 ramp
primary
#51549B
secondary
#B8B690
accent
#C360C8
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80