#515AAA#515AAA
#515AAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.126 H 276.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #515AAA |
|---|---|
| RGB | rgb(81, 90, 170) |
| HSL | hsl(234, 35%, 49%) |
| HSV | hsv(234, 52%, 67%) |
| CMYK | cmyk(52.4%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.16, 19.58, -44.19) |
| CIE-LCH | lch(41.16, 48.33, 293.90°) |
| OKLab | oklab(50.02% 0.0132 -0.1257) |
| OKLCH | oklch(50.02% 0.126 276) |
| XYZ | xyz(14.3029, 11.9630, 39.5778) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.91
Iris
#6258C4
ΔE00 5.40
Twilight
#4E518B
ΔE00 5.86
Denim Blue
#3B5B92
ΔE00 6.07
Dark Periwinkle
#665FD1
ΔE00 7.03
Warm Blue
#4B57DB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AAA #AAA151
analogous
#5187AA #515AAA #7551AA
triadic
#515AAA #AA515A #5AAA51
tetradic
#515AAA #AA5187 #AAA151 #51AA75
square
#515AAA #AA5187 #AAA151 #51AA75
split-complementary
#515AAA #AA7551 #87AA51
monochromatic
#2A2E57 #3D4481 #515AAA #7980BF #A2A7D3
Accessibility & contrast
On white
6.19
#515AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#515AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AAA
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AAA | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#2A6B7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #515aaa; /* rgb */ color: rgb(81, 90, 170); /* oklch */ color: oklch(50.0% 0.126 276.0);
Tailwind
colors: {
custom: {
50: '#8888c4',
500: '#515aaa',
950: '#000000',
},
}SCSS
$custom: #515aaa; $custom-light: #8888c4; $custom-dark: #000000;
JSON
{
"hex": "#515aaa",
"rgb": {
"r": 81,
"g": 90,
"b": 170
},
"hsl": {
"h": 233.933,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.50021,
"c": 0.1264,
"h": 276
},
"luminance": 0.11964
}Semantic roles & 50–950 ramp
primary
#515AAA
secondary
#C0BC97
accent
#C05CCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82