#515ED5#515ED5
#515ED5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.181 H 273.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED5 |
|---|---|
| RGB | rgb(81, 94, 213) |
| HSL | hsl(234, 61%, 58%) |
| HSV | hsv(234, 62%, 84%) |
| CMYK | cmyk(62%, 55.9%, 0%, 16.5%) |
| CIE-LAB | lab(45.02, 31.38, -62.95) |
| CIE-LCH | lch(45.02, 70.34, 296.49°) |
| OKLab | oklab(53.83% 0.0124 -0.1809) |
| OKLCH | oklch(53.83% 0.181 273.9) |
| XYZ | xyz(19.4023, 14.5572, 64.7253) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Dark Periwinkle
#665FD1
ΔE00 3.48
Iris
#6258C4
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED5 #D5C851
analogous
#51A0D5 #515ED5 #8651D5
triadic
#515ED5 #D5515E #5ED551
tetradic
#515ED5 #D551A0 #D5C851 #51D586
square
#515ED5 #D551A0 #D5C851 #51D586
split-complementary
#515ED5 #D58651 #A0D551
monochromatic
#212C8A #2D3BBC #515ED5 #828CE1 #B4B9ED
Accessibility & contrast
On white
5.37
#515ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#515ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED5
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED5 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ed5; /* rgb */ color: rgb(81, 94, 213); /* oklch */ color: oklch(53.8% 0.181 273.9);
Tailwind
colors: {
custom: {
50: '#8f8be3',
500: '#515ed5',
950: '#000000',
},
}SCSS
$custom: #515ed5; $custom-light: #8f8be3; $custom-dark: #000000;
JSON
{
"hex": "#515ed5",
"rgb": {
"r": 81,
"g": 94,
"b": 213
},
"hsl": {
"h": 234.091,
"s": 61.111,
"l": 57.647
},
"oklch": {
"l": 0.53834,
"c": 0.18128,
"h": 273.9
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#515ED5
secondary
#DBD6A6
accent
#D444E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84