#515EE2#515EE2
#515EE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.198 H 273.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #515EE2 |
|---|---|
| RGB | rgb(81, 94, 226) |
| HSL | hsl(235, 71%, 60%) |
| HSV | hsv(235, 64%, 89%) |
| CMYK | cmyk(64.2%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(45.97, 35.74, -68.82) |
| CIE-LCH | lch(45.97, 77.55, 297.45°) |
| OKLab | oklab(54.83% 0.0125 -0.1981) |
| OKLCH | oklch(54.83% 0.198 273.6) |
| XYZ | xyz(21.1190, 15.2439, 73.7662) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.48
Dark Periwinkle
#665FD1
ΔE00 3.81
Azul
#1D5DEC
ΔE00 4.29
Royal Blue
#4169E1
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.15
Electric Blue
#0652FF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515EE2 #E2D551
analogous
#51A6E2 #515EE2 #8D51E2
triadic
#515EE2 #E2515E #5EE251
tetradic
#515EE2 #E251A6 #E2D551 #51E28D
square
#515EE2 #E251A6 #E2D551 #51E28D
split-complementary
#515EE2 #E28D51 #A6E251
monochromatic
#1A269E #2333D3 #515EE2 #858FEB #BABFF3
Accessibility & contrast
On white
5.19
#515EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#515EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515EE2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515EE2 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #515ee2; /* rgb */ color: rgb(81, 94, 226); /* oklch */ color: oklch(54.8% 0.198 273.6);
Tailwind
colors: {
custom: {
50: '#918bec',
500: '#515ee2',
950: '#000000',
},
}SCSS
$custom: #515ee2; $custom-light: #918bec; $custom-dark: #000000;
JSON
{
"hex": "#515ee2",
"rgb": {
"r": 81,
"g": 94,
"b": 226
},
"hsl": {
"h": 234.621,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.54834,
"c": 0.19849,
"h": 273.6
},
"luminance": 0.15246
}Semantic roles & 50–950 ramp
primary
#515EE2
secondary
#E3DEAC
accent
#C212D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84