#515DC5#515DC5
#515DC5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.161 H 274.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #515DC5 |
|---|---|
| RGB | rgb(81, 93, 197) |
| HSL | hsl(234, 50%, 55%) |
| HSV | hsv(234, 59%, 77%) |
| CMYK | cmyk(58.9%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(43.67, 26.63, -55.95) |
| CIE-LCH | lch(43.67, 61.96, 295.45°) |
| OKLab | oklab(52.47% 0.0126 -0.1603) |
| OKLCH | oklch(52.47% 0.161 274.5) |
| XYZ | xyz(17.3824, 13.6079, 54.5231) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.48
Iris
#6258C4
ΔE00 3.85
Dark Periwinkle
#665FD1
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 5.01
Light Indigo
#6D5ACF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DC5 #C5B951
analogous
#5197C5 #515DC5 #7F51C5
triadic
#515DC5 #C5515D #5DC551
tetradic
#515DC5 #C55197 #C5B951 #51C57F
square
#515DC5 #C55197 #C5B951 #51C57F
split-complementary
#515DC5 #C57F51 #97C551
monochromatic
#272F75 #3641A3 #515DC5 #7F88D4 #ADB2E4
Accessibility & contrast
On white
5.64
#515DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#515DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DC5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DC5 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515dc5; /* rgb */ color: rgb(81, 93, 197); /* oklch */ color: oklch(52.5% 0.161 274.5);
Tailwind
colors: {
custom: {
50: '#8c8ad7',
500: '#515dc5',
950: '#000000',
},
}SCSS
$custom: #515dc5; $custom-light: #8c8ad7; $custom-dark: #000000;
JSON
{
"hex": "#515dc5",
"rgb": {
"r": 81,
"g": 93,
"b": 197
},
"hsl": {
"h": 233.793,
"s": 50,
"l": 54.51
},
"oklch": {
"l": 0.52467,
"c": 0.16076,
"h": 274.5
},
"luminance": 0.13609
}Semantic roles & 50–950 ramp
primary
#515DC5
secondary
#D1CCA0
accent
#CB4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83