#515ABA#515ABA
#515ABA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.149 H 275.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #515ABA |
|---|---|
| RGB | rgb(81, 90, 186) |
| HSL | hsl(235, 43%, 52%) |
| HSV | hsv(235, 56%, 73%) |
| CMYK | cmyk(56.5%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(42.16, 24.85, -51.98) |
| CIE-LCH | lch(42.16, 57.61, 295.56°) |
| OKLab | oklab(51.11% 0.0149 -0.1486) |
| OKLCH | oklch(51.11% 0.149 275.7) |
| XYZ | xyz(15.9096, 12.6057, 48.0396) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.76
Warm Blue
#4B57DB
ΔE00 4.64
Dark Periwinkle
#665FD1
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 6.07
Dusky Blue
#475F94
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ABA #BAB151
analogous
#518FBA #515ABA #7C51BA
triadic
#515ABA #BA515A #5ABA51
tetradic
#515ABA #BA518F #BAB151 #51BA7C
square
#515ABA #BA518F #BAB151 #51BA7C
split-complementary
#515ABA #BA7C51 #8FBA51
monochromatic
#292E68 #3A4293 #515ABA #7D84CB #A9ADDD
Accessibility & contrast
On white
5.96
#515ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#515ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ABA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ABA | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#135FB8
Tritanopia (blue-blind)
#157081
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515aba; /* rgb */ color: rgb(81, 90, 186); /* oklch */ color: oklch(51.1% 0.149 275.7);
Tailwind
colors: {
custom: {
50: '#8a88cf',
500: '#515aba',
950: '#000000',
},
}SCSS
$custom: #515aba; $custom-light: #8a88cf; $custom-dark: #000000;
JSON
{
"hex": "#515aba",
"rgb": {
"r": 81,
"g": 90,
"b": 186
},
"hsl": {
"h": 234.857,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.51105,
"c": 0.14935,
"h": 275.7
},
"luminance": 0.12607
}Semantic roles & 50–950 ramp
primary
#515ABA
secondary
#CAC69D
accent
#C855D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82