#515CE2#515CE2
#515CE2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.201 H 274.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #515CE2 |
|---|---|
| RGB | rgb(81, 92, 226) |
| HSL | hsl(235, 71%, 60%) |
| HSV | hsv(235, 64%, 89%) |
| CMYK | cmyk(64.2%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(45.49, 36.97, -69.60) |
| CIE-LCH | lch(45.49, 78.81, 297.98°) |
| OKLab | oklab(54.48% 0.0142 -0.2004) |
| OKLCH | oklch(54.48% 0.201 274) |
| XYZ | xyz(20.9434, 14.8928, 73.7077) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.97
Dark Periwinkle
#665FD1
ΔE00 3.79
Azul
#1D5DEC
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.91
Electric Blue
#0652FF
ΔE00 4.98
Iris
#6258C4
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CE2 #E2D751
analogous
#51A5E2 #515CE2 #8E51E2
triadic
#515CE2 #E2515C #5CE251
tetradic
#515CE2 #E251A5 #E2D751 #51E28E
square
#515CE2 #E251A5 #E2D751 #51E28E
split-complementary
#515CE2 #E28E51 #A5E251
monochromatic
#1A249E #2330D3 #515CE2 #858DEB #BABEF3
Accessibility & contrast
On white
5.28
#515CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#515CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CE2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CE2 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #515ce2; /* rgb */ color: rgb(81, 92, 226); /* oklch */ color: oklch(54.5% 0.201 274.0);
Tailwind
colors: {
custom: {
50: '#918aec',
500: '#515ce2',
950: '#000000',
},
}SCSS
$custom: #515ce2; $custom-light: #918aec; $custom-dark: #000000;
JSON
{
"hex": "#515ce2",
"rgb": {
"r": 81,
"g": 92,
"b": 226
},
"hsl": {
"h": 235.448,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.54479,
"c": 0.20091,
"h": 274
},
"luminance": 0.14895
}Semantic roles & 50–950 ramp
primary
#515CE2
secondary
#E3DFAC
accent
#C512D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84