#515DC0#515DC0
#515DC0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.154 H 274.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #515DC0 |
|---|---|
| RGB | rgb(81, 93, 192) |
| HSL | hsl(234, 47%, 54%) |
| HSV | hsv(234, 58%, 75%) |
| CMYK | cmyk(57.8%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(43.33, 24.96, -53.58) |
| CIE-LCH | lch(43.33, 59.11, 294.98°) |
| OKLab | oklab(52.11% 0.0122 -0.1533) |
| OKLCH | oklch(52.11% 0.154 274.6) |
| XYZ | xyz(16.8190, 13.3826, 51.5557) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.92
Royal Blue
#4169E1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DC0 #C0B451
analogous
#5194C0 #515DC0 #7C51C0
triadic
#515DC0 #C0515D #5DC051
tetradic
#515DC0 #C05194 #C0B451 #51C07C
square
#515DC0 #C05194 #C0B451 #51C07C
split-complementary
#515DC0 #C07C51 #94C051
monochromatic
#28306F #38439B #515DC0 #7E87D0 #ABB1E1
Accessibility & contrast
On white
5.71
#515DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#515DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DC0
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DC0 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#027485
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #515dc0; /* rgb */ color: rgb(81, 93, 192); /* oklch */ color: oklch(52.1% 0.154 274.6);
Tailwind
colors: {
custom: {
50: '#8b8ad4',
500: '#515dc0',
950: '#000000',
},
}SCSS
$custom: #515dc0; $custom-light: #8b8ad4; $custom-dark: #000000;
JSON
{
"hex": "#515dc0",
"rgb": {
"r": 81,
"g": 93,
"b": 192
},
"hsl": {
"h": 233.514,
"s": 46.835,
"l": 53.529
},
"oklch": {
"l": 0.52112,
"c": 0.15379,
"h": 274.6
},
"luminance": 0.13384
}Semantic roles & 50–950 ramp
primary
#515DC0
secondary
#CEC99F
accent
#C851D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83