#515CD4#515CD4
#515CD4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.182 H 274.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #515CD4 |
|---|---|
| RGB | rgb(81, 92, 212) |
| HSL | hsl(235, 60%, 57%) |
| HSV | hsv(235, 62%, 83%) |
| CMYK | cmyk(61.8%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(44.46, 32.28, -63.30) |
| CIE-LCH | lch(44.46, 71.06, 297.02°) |
| OKLab | oklab(53.39% 0.0142 -0.1819) |
| OKLCH | oklch(53.39% 0.182 274.5) |
| XYZ | xyz(19.1002, 14.1555, 64.0003) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.78
Dark Periwinkle
#665FD1
ΔE00 3.46
Iris
#6258C4
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.50
Azul
#1D5DEC
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CD4 #D4C951
analogous
#519DD4 #515CD4 #8851D4
triadic
#515CD4 #D4515C #5CD451
tetradic
#515CD4 #D4519D #D4C951 #51D488
square
#515CD4 #D4519D #D4C951 #51D488
split-complementary
#515CD4 #D48851 #9DD451
monochromatic
#222A89 #2E3ABA #515CD4 #828AE0 #B3B8EC
Accessibility & contrast
On white
5.48
#515CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#515CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CD4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CD4 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #515cd4; /* rgb */ color: rgb(81, 92, 212); /* oklch */ color: oklch(53.4% 0.182 274.5);
Tailwind
colors: {
custom: {
50: '#8f8ae2',
500: '#515cd4',
950: '#000000',
},
}SCSS
$custom: #515cd4; $custom-light: #8f8ae2; $custom-dark: #000000;
JSON
{
"hex": "#515cd4",
"rgb": {
"r": 81,
"g": 92,
"b": 212
},
"hsl": {
"h": 234.962,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.53389,
"c": 0.18245,
"h": 274.5
},
"luminance": 0.14157
}Semantic roles & 50–950 ramp
primary
#515CD4
secondary
#DBD6A6
accent
#D644E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83