#515CD6#515CD6
#515CD6 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.185 H 274.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #515CD6 |
|---|---|
| RGB | rgb(81, 92, 214) |
| HSL | hsl(235, 62%, 58%) |
| HSV | hsv(235, 62%, 84%) |
| CMYK | cmyk(62.1%, 57%, 0%, 16.1%) |
| CIE-LAB | lab(44.60, 32.95, -64.21) |
| CIE-LCH | lch(44.60, 72.17, 297.17°) |
| OKLab | oklab(53.54% 0.0142 -0.1846) |
| OKLCH | oklch(53.54% 0.185 274.4) |
| XYZ | xyz(19.3541, 14.2571, 65.3373) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.68
Dark Periwinkle
#665FD1
ΔE00 3.45
Iris
#6258C4
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 4.52
Azul
#1D5DEC
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CD6 #D6CB51
analogous
#519ED6 #515CD6 #8951D6
triadic
#515CD6 #D6515C #5CD651
tetradic
#515CD6 #D6519E #D6CB51 #51D689
square
#515CD6 #D6519E #D6CB51 #51D689
split-complementary
#515CD6 #D68951 #9ED651
monochromatic
#212A8C #2D39BD #515CD6 #838AE2 #B4B9ED
Accessibility & contrast
On white
5.45
#515CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#515CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CD6
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CD6 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #515cd6; /* rgb */ color: rgb(81, 92, 214); /* oklch */ color: oklch(53.5% 0.185 274.4);
Tailwind
colors: {
custom: {
50: '#8f8ae3',
500: '#515cd6',
950: '#000000',
},
}SCSS
$custom: #515cd6; $custom-light: #8f8ae3; $custom-dark: #000000;
JSON
{
"hex": "#515cd6",
"rgb": {
"r": 81,
"g": 92,
"b": 214
},
"hsl": {
"h": 235.038,
"s": 61.86,
"l": 57.843
},
"oklch": {
"l": 0.53542,
"c": 0.18513,
"h": 274.4
},
"luminance": 0.14259
}Semantic roles & 50–950 ramp
primary
#515CD6
secondary
#DCD8A7
accent
#D843E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84