#515AB9#515AB9
#515AB9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.148 H 275.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #515AB9 |
|---|---|
| RGB | rgb(81, 90, 185) |
| HSL | hsl(235, 43%, 52%) |
| HSV | hsv(235, 56%, 73%) |
| CMYK | cmyk(56.2%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(42.10, 24.52, -51.50) |
| CIE-LCH | lch(42.10, 57.04, 295.46°) |
| OKLab | oklab(51.04% 0.0149 -0.1472) |
| OKLCH | oklch(51.04% 0.148 275.8) |
| XYZ | xyz(15.8036, 12.5633, 47.4817) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 6.16
Dusky Blue
#475F94
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AB9 #B9B051
analogous
#518EB9 #515AB9 #7C51B9
triadic
#515AB9 #B9515A #5AB951
tetradic
#515AB9 #B9518E #B9B051 #51B97C
square
#515AB9 #B9518E #B9B051 #51B97C
split-complementary
#515AB9 #B97C51 #8EB951
monochromatic
#292E66 #3B4292 #515AB9 #7D83CB #A8ADDC
Accessibility & contrast
On white
5.98
#515AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#515AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AB9
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AB9 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2868BC
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#176F81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515ab9; /* rgb */ color: rgb(81, 90, 185); /* oklch */ color: oklch(51.0% 0.148 275.8);
Tailwind
colors: {
custom: {
50: '#8a88cf',
500: '#515ab9',
950: '#000000',
},
}SCSS
$custom: #515ab9; $custom-light: #8a88cf; $custom-dark: #000000;
JSON
{
"hex": "#515ab9",
"rgb": {
"r": 81,
"g": 90,
"b": 185
},
"hsl": {
"h": 234.808,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.51035,
"c": 0.14794,
"h": 275.8
},
"luminance": 0.12564
}Semantic roles & 50–950 ramp
primary
#515AB9
secondary
#CAC69C
accent
#C855D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82