#515AC0#515AC0
#515AC0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.158 H 275.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #515AC0 |
|---|---|
| RGB | rgb(81, 90, 192) |
| HSL | hsl(235, 47%, 54%) |
| HSV | hsv(235, 58%, 75%) |
| CMYK | cmyk(57.8%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(42.56, 26.85, -54.83) |
| CIE-LCH | lch(42.56, 61.05, 296.09°) |
| OKLab | oklab(51.53% 0.0154 -0.157) |
| OKLCH | oklch(51.53% 0.158 275.6) |
| XYZ | xyz(16.5609, 12.8662, 51.4697) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.41
Warm Blue
#4B57DB
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AC0 #C0B751
analogous
#5191C0 #515AC0 #7F51C0
triadic
#515AC0 #C0515A #5AC051
tetradic
#515AC0 #C05191 #C0B751 #51C07F
square
#515AC0 #C05191 #C0B751 #51C07F
split-complementary
#515AC0 #C07F51 #91C051
monochromatic
#282E6F #38409B #515AC0 #7E85D0 #ABAFE1
Accessibility & contrast
On white
5.88
#515AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#515AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AC0
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AC0 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#047184
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515ac0; /* rgb */ color: rgb(81, 90, 192); /* oklch */ color: oklch(51.5% 0.158 275.6);
Tailwind
colors: {
custom: {
50: '#8b88d4',
500: '#515ac0',
950: '#000000',
},
}SCSS
$custom: #515ac0; $custom-light: #8b88d4; $custom-dark: #000000;
JSON
{
"hex": "#515ac0",
"rgb": {
"r": 81,
"g": 90,
"b": 192
},
"hsl": {
"h": 235.135,
"s": 46.835,
"l": 53.529
},
"oklch": {
"l": 0.51531,
"c": 0.15775,
"h": 275.6
},
"luminance": 0.12867
}Semantic roles & 50–950 ramp
primary
#515AC0
secondary
#CECA9F
accent
#CC51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83