#51538E#51538E
#51538E is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.8% C 0.095 H 280.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #51538E |
|---|---|
| RGB | rgb(81, 83, 142) |
| HSL | hsl(238, 27%, 44%) |
| HSV | hsv(238, 43%, 56%) |
| CMYK | cmyk(43%, 41.5%, 0%, 44.3%) |
| CIE-LAB | lab(37.64, 15.13, -33.00) |
| CIE-LCH | lch(37.64, 36.31, 294.63°) |
| OKLab | oklab(46.82% 0.0174 -0.093) |
| OKLCH | oklch(46.82% 0.095 280.6) |
| XYZ | xyz(11.3676, 9.8883, 26.8956) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.84
Dusk
#4E5481
ΔE00 3.03
Dusky Blue
#475F94
ΔE00 6.20
Blueberry
#464196
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 7.26
Denim Blue
#3B5B92
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51538E #8E8C51
analogous
#51718E #51538E #6D518E
triadic
#51538E #8E5153 #538E51
tetradic
#51538E #8E5171 #8E8C51 #518E6D
square
#51538E #8E5171 #8E8C51 #518E6D
split-complementary
#51538E #8E6D51 #718E51
monochromatic
#252540 #3B3C67 #51538E #6F71AD #9698C3
Accessibility & contrast
On white
7.05
#51538E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#51538E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51538E
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51538E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51538E | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#3E5F69
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #51538e; /* rgb */ color: rgb(81, 83, 142); /* oklch */ color: oklch(46.8% 0.095 280.6);
Tailwind
colors: {
custom: {
50: '#8583af',
500: '#51538e',
950: '#000000',
},
}SCSS
$custom: #51538e; $custom-light: #8583af; $custom-dark: #000000;
JSON
{
"hex": "#51538e",
"rgb": {
"r": 81,
"g": 83,
"b": 142
},
"hsl": {
"h": 238.033,
"s": 27.354,
"l": 43.725
},
"oklch": {
"l": 0.46822,
"c": 0.09464,
"h": 280.6
},
"luminance": 0.09889
}Semantic roles & 50–950 ramp
primary
#51538E
secondary
#B0AF8B
accent
#C164C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F