#515DE2#515DE2
#515DE2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.200 H 273.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #515DE2 |
|---|---|
| RGB | rgb(81, 93, 226) |
| HSL | hsl(235, 71%, 60%) |
| HSV | hsv(235, 64%, 89%) |
| CMYK | cmyk(64.2%, 58.8%, 0%, 11.4%) |
| CIE-LAB | lab(45.73, 36.36, -69.21) |
| CIE-LCH | lch(45.73, 78.18, 297.71°) |
| OKLab | oklab(54.66% 0.0133 -0.1993) |
| OKLCH | oklch(54.66% 0.2 273.8) |
| XYZ | xyz(21.0306, 15.0672, 73.7367) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.21
Dark Periwinkle
#665FD1
ΔE00 3.78
Azul
#1D5DEC
ΔE00 4.35
Royal Blue
#4169E1
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.02
Electric Blue
#0652FF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DE2 #E2D651
analogous
#51A6E2 #515DE2 #8D51E2
triadic
#515DE2 #E2515D #5DE251
tetradic
#515DE2 #E251A6 #E2D651 #51E28D
square
#515DE2 #E251A6 #E2D651 #51E28D
split-complementary
#515DE2 #E28D51 #A6E251
monochromatic
#1A259E #2332D3 #515DE2 #858EEB #BABFF3
Accessibility & contrast
On white
5.23
#515DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#515DE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DE2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DE2 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #515de2; /* rgb */ color: rgb(81, 93, 226); /* oklch */ color: oklch(54.7% 0.200 273.8);
Tailwind
colors: {
custom: {
50: '#918bec',
500: '#515de2',
950: '#000000',
},
}SCSS
$custom: #515de2; $custom-light: #918bec; $custom-dark: #000000;
JSON
{
"hex": "#515de2",
"rgb": {
"r": 81,
"g": 93,
"b": 226
},
"hsl": {
"h": 235.034,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.54656,
"c": 0.19971,
"h": 273.8
},
"luminance": 0.15069
}Semantic roles & 50–950 ramp
primary
#515DE2
secondary
#E3DFAC
accent
#C312D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84