#514C8A#514C8A
#514C8A is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.099 H 285.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #514C8A |
|---|---|
| RGB | rgb(81, 76, 138) |
| HSL | hsl(245, 29%, 42%) |
| HSV | hsv(245, 45%, 54%) |
| CMYK | cmyk(41.3%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(35.50, 18.40, -33.95) |
| CIE-LCH | lch(35.50, 38.61, 298.46°) |
| OKLab | oklab(45.12% 0.0263 -0.0958) |
| OKLCH | oklch(45.12% 0.099 285.4) |
| XYZ | xyz(10.5639, 8.7528, 25.1727) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.27
Dusk
#4E5481
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 5.10
Blueberry
#464196
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 8.61
Dusky Blue
#475F94
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514C8A #858A4C
analogous
#4C668A #514C8A #704C8A
triadic
#514C8A #8A514C #4C8A51
tetradic
#514C8A #8A4C66 #858A4C #4C8A70
square
#514C8A #8A4C66 #858A4C #4C8A70
split-complementary
#514C8A #8A704C #668A4C
monochromatic
#23213B #3A3663 #514C8A #6D68AC #938FC1
Accessibility & contrast
On white
7.63
#514C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#514C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514C8A
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514C8A | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#415864
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514c8a; /* rgb */ color: rgb(81, 76, 138); /* oklch */ color: oklch(45.1% 0.099 285.4);
Tailwind
colors: {
custom: {
50: '#857eac',
500: '#514c8a',
950: '#000000',
},
}SCSS
$custom: #514c8a; $custom-light: #857eac; $custom-dark: #000000;
JSON
{
"hex": "#514c8a",
"rgb": {
"r": 81,
"g": 76,
"b": 138
},
"hsl": {
"h": 244.839,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.45123,
"c": 0.09935,
"h": 285.4
},
"luminance": 0.08753
}Semantic roles & 50–950 ramp
primary
#514C8A
secondary
#AAAE84
accent
#C563BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F