#515CD1#515CD1
#515CD1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.178 H 274.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #515CD1 |
|---|---|
| RGB | rgb(81, 92, 209) |
| HSL | hsl(235, 58%, 57%) |
| HSV | hsv(235, 61%, 82%) |
| CMYK | cmyk(61.2%, 56%, 0%, 18%) |
| CIE-LAB | lab(44.24, 31.28, -61.93) |
| CIE-LCH | lch(44.24, 69.38, 296.80°) |
| OKLab | oklab(53.16% 0.0141 -0.1779) |
| OKLCH | oklch(53.16% 0.178 274.5) |
| XYZ | xyz(18.7253, 14.0056, 62.0258) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.00
Dark Periwinkle
#665FD1
ΔE00 3.50
Iris
#6258C4
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CD1 #D1C651
analogous
#519CD1 #515CD1 #8651D1
triadic
#515CD1 #D1515C #5CD151
tetradic
#515CD1 #D1519C #D1C651 #51D186
square
#515CD1 #D1519C #D1C651 #51D186
split-complementary
#515CD1 #D18651 #9CD151
monochromatic
#232B85 #303BB5 #515CD1 #8189DE #B2B7EB
Accessibility & contrast
On white
5.52
#515CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#515CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CD1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CD1 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #515cd1; /* rgb */ color: rgb(81, 92, 209); /* oklch */ color: oklch(53.2% 0.178 274.5);
Tailwind
colors: {
custom: {
50: '#8e8ae0',
500: '#515cd1',
950: '#000000',
},
}SCSS
$custom: #515cd1; $custom-light: #8e8ae0; $custom-dark: #000000;
JSON
{
"hex": "#515cd1",
"rgb": {
"r": 81,
"g": 92,
"b": 209
},
"hsl": {
"h": 234.844,
"s": 58.182,
"l": 56.863
},
"oklch": {
"l": 0.53161,
"c": 0.17843,
"h": 274.5
},
"luminance": 0.14007
}Semantic roles & 50–950 ramp
primary
#515CD1
secondary
#D9D5A5
accent
#D446E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83