#515DC1#515DC1
#515DC1 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.155 H 274.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #515DC1 |
|---|---|
| RGB | rgb(81, 93, 193) |
| HSL | hsl(234, 47%, 54%) |
| HSV | hsv(234, 58%, 76%) |
| CMYK | cmyk(58%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(43.40, 25.29, -54.06) |
| CIE-LCH | lch(43.40, 59.68, 295.07°) |
| OKLab | oklab(52.18% 0.0123 -0.1547) |
| OKLCH | oklch(52.18% 0.155 274.6) |
| XYZ | xyz(16.9302, 13.4270, 52.1413) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.95
Warm Blue
#4B57DB
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 5.85
Royal Blue
#4169E1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DC1 #C1B551
analogous
#5195C1 #515DC1 #7D51C1
triadic
#515DC1 #C1515D #5DC151
tetradic
#515DC1 #C15195 #C1B551 #51C17D
square
#515DC1 #C15195 #C1B551 #51C17D
split-complementary
#515DC1 #C17D51 #95C151
monochromatic
#283070 #38439D #515DC1 #7E87D1 #ABB1E1
Accessibility & contrast
On white
5.70
#515DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#515DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DC1
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DC1 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256BC5
Deuteranopia (green-blind)
#0962BF
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515dc1; /* rgb */ color: rgb(81, 93, 193); /* oklch */ color: oklch(52.2% 0.155 274.6);
Tailwind
colors: {
custom: {
50: '#8b8ad4',
500: '#515dc1',
950: '#000000',
},
}SCSS
$custom: #515dc1; $custom-light: #8b8ad4; $custom-dark: #000000;
JSON
{
"hex": "#515dc1",
"rgb": {
"r": 81,
"g": 93,
"b": 193
},
"hsl": {
"h": 233.571,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.52183,
"c": 0.15519,
"h": 274.6
},
"luminance": 0.13428
}Semantic roles & 50–950 ramp
primary
#515DC1
secondary
#CFCA9F
accent
#C951D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83