#515BB6#515BB6
#515BB6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.142 H 275.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #515BB6 |
|---|---|
| RGB | rgb(81, 91, 182) |
| HSL | hsl(234, 41%, 52%) |
| HSV | hsv(234, 55%, 71%) |
| CMYK | cmyk(55.5%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(42.17, 22.90, -49.63) |
| CIE-LCH | lch(42.17, 54.66, 294.76°) |
| OKLab | oklab(51.03% 0.0135 -0.1417) |
| OKLCH | oklch(51.03% 0.142 275.4) |
| XYZ | xyz(15.5752, 12.6078, 45.8597) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.92
Dusky Blue
#475F94
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BB6 #B6AC51
analogous
#518EB6 #515BB6 #7A51B6
triadic
#515BB6 #B6515B #5BB651
tetradic
#515BB6 #B6518E #B6AC51 #51B67A
square
#515BB6 #B6518E #B6AC51 #51B67A
split-complementary
#515BB6 #B67A51 #8EB651
monochromatic
#2A2F63 #3C448E #515BB6 #7C84C8 #A7ACDA
Accessibility & contrast
On white
5.96
#515BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#515BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BB6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BB6 | 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)
#2E68B9
Deuteranopia (green-blind)
#1F5FB4
Tritanopia (blue-blind)
#1C6F80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515bb6; /* rgb */ color: rgb(81, 91, 182); /* oklch */ color: oklch(51.0% 0.142 275.4);
Tailwind
colors: {
custom: {
50: '#8a89cc',
500: '#515bb6',
950: '#000000',
},
}SCSS
$custom: #515bb6; $custom-light: #8a89cc; $custom-dark: #000000;
JSON
{
"hex": "#515bb6",
"rgb": {
"r": 81,
"g": 91,
"b": 182
},
"hsl": {
"h": 234.059,
"s": 40.891,
"l": 51.569
},
"oklch": {
"l": 0.51025,
"c": 0.14234,
"h": 275.4
},
"luminance": 0.12609
}Semantic roles & 50–950 ramp
primary
#515BB6
secondary
#C8C39B
accent
#C557D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82