#515DD4#515DD4
#515DD4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.181 H 274.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #515DD4 |
|---|---|
| RGB | rgb(81, 93, 212) |
| HSL | hsl(235, 60%, 57%) |
| HSV | hsv(235, 62%, 83%) |
| CMYK | cmyk(61.8%, 56.1%, 0%, 16.9%) |
| CIE-LAB | lab(44.70, 31.66, -62.90) |
| CIE-LCH | lch(44.70, 70.42, 296.72°) |
| OKLab | oklab(53.57% 0.0133 -0.1807) |
| OKLCH | oklch(53.57% 0.181 274.2) |
| XYZ | xyz(19.1874, 14.3299, 64.0294) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.05
Dark Periwinkle
#665FD1
ΔE00 3.46
Iris
#6258C4
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.63
Azul
#1D5DEC
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DD4 #D4C851
analogous
#519ED4 #515DD4 #8751D4
triadic
#515DD4 #D4515D #5DD451
tetradic
#515DD4 #D4519E #D4C851 #51D487
square
#515DD4 #D4519E #D4C851 #51D487
split-complementary
#515DD4 #D48751 #9ED451
monochromatic
#222B89 #2E3BBA #515DD4 #828BE0 #B3B8EC
Accessibility & contrast
On white
5.43
#515DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#515DD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DD4
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DD4 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515dd4; /* rgb */ color: rgb(81, 93, 212); /* oklch */ color: oklch(53.6% 0.181 274.2);
Tailwind
colors: {
custom: {
50: '#8e8ae2',
500: '#515dd4',
950: '#000000',
},
}SCSS
$custom: #515dd4; $custom-light: #8e8ae2; $custom-dark: #000000;
JSON
{
"hex": "#515dd4",
"rgb": {
"r": 81,
"g": 93,
"b": 212
},
"hsl": {
"h": 234.504,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.53573,
"c": 0.1812,
"h": 274.2
},
"luminance": 0.14331
}Semantic roles & 50–950 ramp
primary
#515DD4
secondary
#DBD6A6
accent
#D544E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83