#515BE1#515BE1
#515BE1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.2% C 0.201 H 274.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #515BE1 |
|---|---|
| RGB | rgb(81, 91, 225) |
| HSL | hsl(236, 71%, 60%) |
| HSV | hsv(236, 64%, 88%) |
| CMYK | cmyk(64%, 59.6%, 0%, 11.8%) |
| CIE-LAB | lab(45.17, 37.25, -69.54) |
| CIE-LCH | lch(45.17, 78.89, 298.17°) |
| OKLab | oklab(54.22% 0.015 -0.2003) |
| OKLCH | oklch(54.22% 0.201 274.3) |
| XYZ | xyz(20.7205, 14.6660, 72.9584) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.67
Dark Periwinkle
#665FD1
ΔE00 3.77
Azul
#1D5DEC
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.77
Iris
#6258C4
ΔE00 4.88
Electric Blue
#0652FF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BE1 #E1D751
analogous
#51A3E1 #515BE1 #8F51E1
triadic
#515BE1 #E1515B #5BE151
tetradic
#515BE1 #E151A3 #E1D751 #51E18F
square
#515BE1 #E151A3 #E1D751 #51E18F
split-complementary
#515BE1 #E18F51 #A3E151
monochromatic
#1B249D #2430D1 #515BE1 #858CEA #B9BDF3
Accessibility & contrast
On white
5.34
#515BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#515BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BE1
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BE1 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515be1; /* rgb */ color: rgb(81, 91, 225); /* oklch */ color: oklch(54.2% 0.201 274.3);
Tailwind
colors: {
custom: {
50: '#9189eb',
500: '#515be1',
950: '#000000',
},
}SCSS
$custom: #515be1; $custom-light: #9189eb; $custom-dark: #000000;
JSON
{
"hex": "#515be1",
"rgb": {
"r": 81,
"g": 91,
"b": 225
},
"hsl": {
"h": 235.833,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.54223,
"c": 0.20082,
"h": 274.3
},
"luminance": 0.14668
}Semantic roles & 50–950 ramp
primary
#515BE1
secondary
#E3DFAB
accent
#E13AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84