#515EA8#515EA8
#515EA8 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.7% C 0.118 H 273.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #515EA8 |
|---|---|
| RGB | rgb(81, 94, 168) |
| HSL | hsl(231, 35%, 49%) |
| HSV | hsv(231, 52%, 66%) |
| CMYK | cmyk(51.8%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(42.13, 16.39, -41.46) |
| CIE-LCH | lch(42.13, 44.58, 291.57°) |
| OKLab | oklab(50.72% 0.0081 -0.1177) |
| OKLCH | oklch(50.72% 0.118 273.9) |
| XYZ | xyz(14.4617, 12.5810, 38.7045) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 5.46
Twilight
#4E518B
ΔE00 6.30
Iris
#6258C4
ΔE00 6.31
French Blue
#436BAD
ΔE00 6.58
Dark Periwinkle
#665FD1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515EA8 #A89B51
analogous
#518AA8 #515EA8 #7051A8
triadic
#515EA8 #A8515E #5EA851
tetradic
#515EA8 #A8518A #A89B51 #51A870
square
#515EA8 #A8518A #A89B51 #51A870
split-complementary
#515EA8 #A87051 #8AA851
monochromatic
#293055 #3D477F #515EA8 #7883BE #A1A9D2
Accessibility & contrast
On white
5.97
#515EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#515EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515EA8
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515EA8 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#2C6E7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515ea8; /* rgb */ color: rgb(81, 94, 168); /* oklch */ color: oklch(50.7% 0.118 273.9);
Tailwind
colors: {
custom: {
50: '#888bc2',
500: '#515ea8',
950: '#000000',
},
}SCSS
$custom: #515ea8; $custom-light: #888bc2; $custom-dark: #000000;
JSON
{
"hex": "#515ea8",
"rgb": {
"r": 81,
"g": 94,
"b": 168
},
"hsl": {
"h": 231.034,
"s": 34.94,
"l": 48.824
},
"oklch": {
"l": 0.5072,
"c": 0.11796,
"h": 273.9
},
"luminance": 0.12582
}Semantic roles & 50–950 ramp
primary
#515EA8
secondary
#BFB996
accent
#BB5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81