#515CA7#515CA7
#515CA7 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.119 H 275.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #515CA7 |
|---|---|
| RGB | rgb(81, 92, 167) |
| HSL | hsl(232, 35%, 49%) |
| HSV | hsv(232, 51%, 65%) |
| CMYK | cmyk(51.5%, 44.9%, 0%, 34.5%) |
| CIE-LAB | lab(41.52, 17.33, -41.83) |
| CIE-LCH | lch(41.52, 45.28, 292.51°) |
| OKLab | oklab(50.24% 0.0104 -0.1188) |
| OKLCH | oklch(50.24% 0.119 275) |
| XYZ | xyz(14.1933, 12.1928, 38.1573) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.18
Denim Blue
#3B5B92
ΔE00 5.59
Twilight
#4E518B
ΔE00 5.77
Iris
#6258C4
ΔE00 6.08
Dusk
#4E5481
ΔE00 7.18
French Blue
#436BAD
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CA7 #A79C51
analogous
#5187A7 #515CA7 #7151A7
triadic
#515CA7 #A7515C #5CA751
tetradic
#515CA7 #A75187 #A79C51 #51A771
square
#515CA7 #A75187 #A79C51 #51A771
split-complementary
#515CA7 #A77151 #87A751
monochromatic
#292F55 #3D457E #515CA7 #7881BD #A1A7D1
Accessibility & contrast
On white
6.11
#515CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#515CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CA7
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CA7 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#2D6C79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #515ca7; /* rgb */ color: rgb(81, 92, 167); /* oklch */ color: oklch(50.2% 0.119 275.0);
Tailwind
colors: {
custom: {
50: '#888ac1',
500: '#515ca7',
950: '#000000',
},
}SCSS
$custom: #515ca7; $custom-light: #888ac1; $custom-dark: #000000;
JSON
{
"hex": "#515ca7",
"rgb": {
"r": 81,
"g": 92,
"b": 167
},
"hsl": {
"h": 232.326,
"s": 34.677,
"l": 48.627
},
"oklch": {
"l": 0.5024,
"c": 0.11923,
"h": 275
},
"luminance": 0.12194
}Semantic roles & 50–950 ramp
primary
#515CA7
secondary
#BFB995
accent
#BD5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81