#515DEA#515DEA
#515DEA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.210 H 273.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #515DEA |
|---|---|
| RGB | rgb(81, 93, 234) |
| HSL | hsl(235, 78%, 62%) |
| HSV | hsv(235, 65%, 92%) |
| CMYK | cmyk(65.4%, 60.3%, 0%, 8.2%) |
| CIE-LAB | lab(46.33, 39.03, -72.74) |
| CIE-LCH | lch(46.33, 82.55, 298.22°) |
| OKLab | oklab(55.3% 0.0132 -0.2096) |
| OKLCH | oklch(55.3% 0.21 273.6) |
| XYZ | xyz(22.1540, 15.5166, 79.6534) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.91
Dark Periwinkle
#665FD1
ΔE00 4.29
Azul
#1D5DEC
ΔE00 4.48
Electric Blue
#0652FF
ΔE00 4.82
Royal Blue
#4169E1
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DEA #EADE51
analogous
#51AAEA #515DEA #9251EA
triadic
#515DEA #EA515D #5DEA51
tetradic
#515DEA #EA51AA #EADE51 #51EA92
square
#515DEA #EA51AA #EADE51 #51EA92
split-complementary
#515DEA #EA9251 #AAEA51
monochromatic
#1521AC #1B2BE2 #515DEA #8890F1 #BEC3F7
Accessibility & contrast
On white
5.12
#515DEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#515DEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DEA
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DEA | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #515dea; /* rgb */ color: rgb(81, 93, 234); /* oklch */ color: oklch(55.3% 0.210 273.6);
Tailwind
colors: {
custom: {
50: '#928bf2',
500: '#515dea',
950: '#000000',
},
}SCSS
$custom: #515dea; $custom-light: #928bf2; $custom-dark: #000000;
JSON
{
"hex": "#515dea",
"rgb": {
"r": 81,
"g": 93,
"b": 234
},
"hsl": {
"h": 235.294,
"s": 78.462,
"l": 61.765
},
"oklch": {
"l": 0.55295,
"c": 0.21004,
"h": 273.6
},
"luminance": 0.15519
}Semantic roles & 50–950 ramp
primary
#515DEA
secondary
#E8E3AF
accent
#CA0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85