#515BE2#515BE2
#515BE2 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.202 H 274.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #515BE2 |
|---|---|
| RGB | rgb(81, 91, 226) |
| HSL | hsl(236, 71%, 60%) |
| HSV | hsv(236, 64%, 89%) |
| CMYK | cmyk(64.2%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(45.25, 37.58, -69.98) |
| CIE-LCH | lch(45.25, 79.44, 298.23°) |
| OKLab | oklab(54.3% 0.015 -0.2016) |
| OKLCH | oklch(54.3% 0.202 274.3) |
| XYZ | xyz(20.8574, 14.7207, 73.6790) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.75
Dark Periwinkle
#665FD1
ΔE00 3.81
Azul
#1D5DEC
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.82
Electric Blue
#0652FF
ΔE00 4.87
Iris
#6258C4
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BE2 #E2D851
analogous
#51A4E2 #515BE2 #8F51E2
triadic
#515BE2 #E2515B #5BE251
tetradic
#515BE2 #E251A4 #E2D851 #51E28F
square
#515BE2 #E251A4 #E2D851 #51E28F
split-complementary
#515BE2 #E28F51 #A4E251
monochromatic
#1A239E #232FD3 #515BE2 #858CEB #BABEF3
Accessibility & contrast
On white
5.32
#515BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#515BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BE2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BE2 | 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)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515be2; /* rgb */ color: rgb(81, 91, 226); /* oklch */ color: oklch(54.3% 0.202 274.3);
Tailwind
colors: {
custom: {
50: '#9189ec',
500: '#515be2',
950: '#000000',
},
}SCSS
$custom: #515be2; $custom-light: #9189ec; $custom-dark: #000000;
JSON
{
"hex": "#515be2",
"rgb": {
"r": 81,
"g": 91,
"b": 226
},
"hsl": {
"h": 235.862,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.54303,
"c": 0.20212,
"h": 274.3
},
"luminance": 0.14722
}Semantic roles & 50–950 ramp
primary
#515BE2
secondary
#E3DFAC
accent
#C612D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84