#515ED3#515ED3
#515ED3 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.179 H 274.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED3 |
|---|---|
| RGB | rgb(81, 94, 211) |
| HSL | hsl(234, 60%, 57%) |
| HSV | hsv(234, 62%, 83%) |
| CMYK | cmyk(61.6%, 55.5%, 0%, 17.3%) |
| CIE-LAB | lab(44.88, 30.71, -62.04) |
| CIE-LCH | lch(44.88, 69.22, 296.33°) |
| OKLab | oklab(53.68% 0.0123 -0.1782) |
| OKLCH | oklch(53.68% 0.179 274) |
| XYZ | xyz(19.1500, 14.4563, 63.3966) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.39
Dark Periwinkle
#665FD1
ΔE00 3.50
Iris
#6258C4
ΔE00 4.33
Azul
#1D5DEC
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED3 #D3C651
analogous
#519FD3 #515ED3 #8551D3
triadic
#515ED3 #D3515E #5ED351
tetradic
#515ED3 #D3519F #D3C651 #51D385
square
#515ED3 #D3519F #D3C651 #51D385
split-complementary
#515ED3 #D38551 #9FD351
monochromatic
#222C87 #2F3CB8 #515ED3 #828BDF #B3B8EC
Accessibility & contrast
On white
5.40
#515ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#515ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED3
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED3 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515ed3; /* rgb */ color: rgb(81, 94, 211); /* oklch */ color: oklch(53.7% 0.179 274.0);
Tailwind
colors: {
custom: {
50: '#8e8be1',
500: '#515ed3',
950: '#000000',
},
}SCSS
$custom: #515ed3; $custom-light: #8e8be1; $custom-dark: #000000;
JSON
{
"hex": "#515ed3",
"rgb": {
"r": 81,
"g": 94,
"b": 211
},
"hsl": {
"h": 234,
"s": 59.633,
"l": 57.255
},
"oklch": {
"l": 0.53683,
"c": 0.17859,
"h": 274
},
"luminance": 0.14458
}Semantic roles & 50–950 ramp
primary
#515ED3
secondary
#DAD5A6
accent
#D345E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83