#515ED2#515ED2
#515ED2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.177 H 274.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED2 |
|---|---|
| RGB | rgb(81, 94, 210) |
| HSL | hsl(234, 59%, 57%) |
| HSV | hsv(234, 61%, 82%) |
| CMYK | cmyk(61.4%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(44.81, 30.37, -61.58) |
| CIE-LCH | lch(44.81, 68.66, 296.25°) |
| OKLab | oklab(53.61% 0.0123 -0.1768) |
| OKLCH | oklch(53.61% 0.177 274) |
| XYZ | xyz(19.0251, 14.4063, 62.7384) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.44
Dark Periwinkle
#665FD1
ΔE00 3.52
Iris
#6258C4
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.78
Azul
#1D5DEC
ΔE00 4.81
Royal Blue
#4169E1
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED2 #D2C551
analogous
#519FD2 #515ED2 #8451D2
triadic
#515ED2 #D2515E #5ED251
tetradic
#515ED2 #D2519F #D2C551 #51D284
square
#515ED2 #D2519F #D2C551 #51D284
split-complementary
#515ED2 #D28451 #9FD251
monochromatic
#232D86 #2F3DB7 #515ED2 #828BDF #B2B8EB
Accessibility & contrast
On white
5.41
#515ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#515ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED2
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED2 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515ed2; /* rgb */ color: rgb(81, 94, 210); /* oklch */ color: oklch(53.6% 0.177 274.0);
Tailwind
colors: {
custom: {
50: '#8e8be1',
500: '#515ed2',
950: '#000000',
},
}SCSS
$custom: #515ed2; $custom-light: #8e8be1; $custom-dark: #000000;
JSON
{
"hex": "#515ed2",
"rgb": {
"r": 81,
"g": 94,
"b": 210
},
"hsl": {
"h": 233.953,
"s": 58.904,
"l": 57.059
},
"oklch": {
"l": 0.53609,
"c": 0.17725,
"h": 274
},
"luminance": 0.14408
}Semantic roles & 50–950 ramp
primary
#515ED2
secondary
#DAD4A5
accent
#D246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83