#515AF2#515AF2
#515AF2 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.224 H 273.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #515AF2 |
|---|---|
| RGB | rgb(81, 90, 242) |
| HSL | hsl(237, 86%, 63%) |
| HSV | hsv(237, 67%, 95%) |
| CMYK | cmyk(66.5%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(46.27, 43.49, -77.33) |
| CIE-LCH | lch(46.27, 88.72, 299.35°) |
| OKLab | oklab(55.45% 0.0151 -0.2231) |
| OKLCH | oklch(55.45% 0.224 273.9) |
| XYZ | xyz(23.0712, 15.4704, 85.7574) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.39
Electric Blue
#0652FF
ΔE00 4.36
Dark Periwinkle
#665FD1
ΔE00 4.97
Azul
#1D5DEC
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.85
Light Indigo
#6D5ACF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AF2 #F2E951
analogous
#51AAF2 #515AF2 #9851F2
triadic
#515AF2 #F2515A #5AF251
tetradic
#515AF2 #F251AA #F2E951 #51F298
square
#515AF2 #F251AA #F2E951 #51F298
split-complementary
#515AF2 #F29851 #AAF251
monochromatic
#0E18BB #1824EE #515AF2 #8A90F6 #C3C6FB
Accessibility & contrast
On white
5.13
#515AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#515AF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AF2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AF2 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #515af2; /* rgb */ color: rgb(81, 90, 242); /* oklch */ color: oklch(55.4% 0.224 273.9);
Tailwind
colors: {
custom: {
50: '#9489f7',
500: '#515af2',
950: '#000000',
},
}SCSS
$custom: #515af2; $custom-light: #9489f7; $custom-dark: #000000;
JSON
{
"hex": "#515af2",
"rgb": {
"r": 81,
"g": 90,
"b": 242
},
"hsl": {
"h": 236.646,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.55445,
"c": 0.22365,
"h": 273.9
},
"luminance": 0.15472
}Semantic roles & 50–950 ramp
primary
#515AF2
secondary
#ECE9B3
accent
#D603E3
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85