#515ED4#515ED4
#515ED4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.180 H 273.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED4 |
|---|---|
| RGB | rgb(81, 94, 212) |
| HSL | hsl(234, 60%, 57%) |
| HSV | hsv(234, 62%, 83%) |
| CMYK | cmyk(61.8%, 55.7%, 0%, 16.9%) |
| CIE-LAB | lab(44.95, 31.04, -62.50) |
| CIE-LCH | lch(44.95, 69.78, 296.41°) |
| OKLab | oklab(53.76% 0.0123 -0.1795) |
| OKLCH | oklch(53.76% 0.18 273.9) |
| XYZ | xyz(19.2758, 14.5066, 64.0589) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.33
Dark Periwinkle
#665FD1
ΔE00 3.49
Iris
#6258C4
ΔE00 4.38
Azul
#1D5DEC
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED4 #D4C751
analogous
#519FD4 #515ED4 #8651D4
triadic
#515ED4 #D4515E #5ED451
tetradic
#515ED4 #D4519F #D4C751 #51D486
square
#515ED4 #D4519F #D4C751 #51D486
split-complementary
#515ED4 #D48651 #9FD451
monochromatic
#222C89 #2E3CBA #515ED4 #828BE0 #B3B9EC
Accessibility & contrast
On white
5.38
#515ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#515ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED4
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED4 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515ed4; /* rgb */ color: rgb(81, 94, 212); /* oklch */ color: oklch(53.8% 0.180 273.9);
Tailwind
colors: {
custom: {
50: '#8e8be2',
500: '#515ed4',
950: '#000000',
},
}SCSS
$custom: #515ed4; $custom-light: #8e8be2; $custom-dark: #000000;
JSON
{
"hex": "#515ed4",
"rgb": {
"r": 81,
"g": 94,
"b": 212
},
"hsl": {
"h": 234.046,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.53758,
"c": 0.17994,
"h": 273.9
},
"luminance": 0.14508
}Semantic roles & 50–950 ramp
primary
#515ED4
secondary
#DBD6A6
accent
#D444E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83