#515AE5#515AE5
#515AE5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.207 H 274.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #515AE5 |
|---|---|
| RGB | rgb(81, 90, 229) |
| HSL | hsl(236, 74%, 61%) |
| HSV | hsv(236, 65%, 90%) |
| CMYK | cmyk(64.6%, 60.7%, 0%, 10.2%) |
| CIE-LAB | lab(45.24, 39.19, -71.69) |
| CIE-LCH | lch(45.24, 81.70, 298.66°) |
| OKLab | oklab(54.37% 0.0157 -0.2066) |
| OKLCH | oklch(54.37% 0.207 274.3) |
| XYZ | xyz(21.1877, 14.7170, 75.8376) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.88
Dark Periwinkle
#665FD1
ΔE00 4.03
Electric Blue
#0652FF
ΔE00 4.62
Azul
#1D5DEC
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.92
Iris
#6258C4
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AE5 #E5DC51
analogous
#51A4E5 #515AE5 #9251E5
triadic
#515AE5 #E5515A #5AE551
tetradic
#515AE5 #E551A4 #E5DC51 #51E592
square
#515AE5 #E551A4 #E5DC51 #51E592
split-complementary
#515AE5 #E59251 #A4E551
monochromatic
#1821A3 #202CD8 #515AE5 #868CED #BBBFF5
Accessibility & contrast
On white
5.32
#515AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#515AE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AE5
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AE5 | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ae5; /* rgb */ color: rgb(81, 90, 229); /* oklch */ color: oklch(54.4% 0.207 274.3);
Tailwind
colors: {
custom: {
50: '#9289ee',
500: '#515ae5',
950: '#000000',
},
}SCSS
$custom: #515ae5; $custom-light: #9289ee; $custom-dark: #000000;
JSON
{
"hex": "#515ae5",
"rgb": {
"r": 81,
"g": 90,
"b": 229
},
"hsl": {
"h": 236.351,
"s": 74,
"l": 60.784
},
"oklch": {
"l": 0.54371,
"c": 0.20718,
"h": 274.3
},
"luminance": 0.14719
}Semantic roles & 50–950 ramp
primary
#515AE5
secondary
#E5E2AD
accent
#CA0FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84