#515C8A#515C8A
#515C8A is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.6% C 0.075 H 273.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #515C8A |
|---|---|
| RGB | rgb(81, 92, 138) |
| HSL | hsl(228, 26%, 43%) |
| HSV | hsv(228, 41%, 54%) |
| CMYK | cmyk(41.3%, 33.3%, 0%, 45.9%) |
| CIE-LAB | lab(39.98, 8.19, -26.90) |
| CIE-LCH | lch(39.98, 28.12, 286.93°) |
| OKLab | oklab(48.55% 0.004 -0.0753) |
| OKLCH | oklch(48.55% 0.075 273) |
| XYZ | xyz(11.8066, 11.2381, 25.5869) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.02
Dusky Blue
#475F94
ΔE00 3.90
Twilight
#4E518B
ΔE00 4.18
Denim Blue
#3B5B92
ΔE00 5.62
Denim (survey)
#3B638C
ΔE00 8.03
Light Navy Blue
#2E5A88
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515C8A #8A7F51
analogous
#51788A #515C8A #62518A
triadic
#515C8A #8A515C #5C8A51
tetradic
#515C8A #8A5178 #8A7F51 #518A62
square
#515C8A #8A5178 #8A7F51 #518A62
split-complementary
#515C8A #8A6251 #788A51
monochromatic
#24293D #3A4263 #515C8A #6E7AAA #959DC1
Accessibility & contrast
On white
6.47
#515C8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#515C8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515C8A
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515C8A | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#3F656D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #515c8a; /* rgb */ color: rgb(81, 92, 138); /* oklch */ color: oklch(48.6% 0.075 273.0);
Tailwind
colors: {
custom: {
50: '#848aac',
500: '#515c8a',
950: '#000000',
},
}SCSS
$custom: #515c8a; $custom-light: #848aac; $custom-dark: #000000;
JSON
{
"hex": "#515c8a",
"rgb": {
"r": 81,
"g": 92,
"b": 138
},
"hsl": {
"h": 228.421,
"s": 26.027,
"l": 42.941
},
"oklch": {
"l": 0.48552,
"c": 0.07539,
"h": 273
},
"luminance": 0.11239
}Semantic roles & 50–950 ramp
primary
#515C8A
secondary
#AEA789
accent
#B065C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F