#515AE2#515AE2
#515AE2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.1% C 0.203 H 274.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #515AE2 |
|---|---|
| RGB | rgb(81, 90, 226) |
| HSL | hsl(236, 71%, 60%) |
| HSV | hsv(236, 64%, 89%) |
| CMYK | cmyk(64.2%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.01, 38.19, -70.37) |
| CIE-LCH | lch(45.01, 80.06, 298.49°) |
| OKLab | oklab(54.13% 0.0158 -0.2027) |
| OKLCH | oklch(54.13% 0.203 274.5) |
| XYZ | xyz(20.7724, 14.5509, 73.6507) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.57
Dark Periwinkle
#665FD1
ΔE00 3.87
Azul
#1D5DEC
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.75
Electric Blue
#0652FF
ΔE00 4.77
Iris
#6258C4
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AE2 #E2D951
analogous
#51A2E2 #515AE2 #9151E2
triadic
#515AE2 #E2515A #5AE251
tetradic
#515AE2 #E251A2 #E2D951 #51E291
square
#515AE2 #E251A2 #E2D951 #51E291
split-complementary
#515AE2 #E29151 #A2E251
monochromatic
#1A239E #232ED3 #515AE2 #858CEB #BABDF3
Accessibility & contrast
On white
5.37
#515AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#515AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AE2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AE2 | 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)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515ae2; /* rgb */ color: rgb(81, 90, 226); /* oklch */ color: oklch(54.1% 0.203 274.5);
Tailwind
colors: {
custom: {
50: '#9188ec',
500: '#515ae2',
950: '#000000',
},
}SCSS
$custom: #515ae2; $custom-light: #9188ec; $custom-dark: #000000;
JSON
{
"hex": "#515ae2",
"rgb": {
"r": 81,
"g": 90,
"b": 226
},
"hsl": {
"h": 236.276,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.54129,
"c": 0.20332,
"h": 274.5
},
"luminance": 0.14553
}Semantic roles & 50–950 ramp
primary
#515AE2
secondary
#E3E0AC
accent
#C712D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84