#515CB1#515CB1
#515CB1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.134 H 275.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #515CB1 |
|---|---|
| RGB | rgb(81, 92, 177) |
| HSL | hsl(233, 38%, 51%) |
| HSV | hsv(233, 54%, 69%) |
| CMYK | cmyk(54.2%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(42.12, 20.61, -46.77) |
| CIE-LCH | lch(42.12, 51.11, 293.78°) |
| OKLab | oklab(50.89% 0.0118 -0.1333) |
| OKLCH | oklch(50.89% 0.134 275.1) |
| XYZ | xyz(15.1538, 12.5769, 43.2155) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.90
Dusky Blue
#475F94
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 6.13
Dark Periwinkle
#665FD1
ΔE00 6.15
Denim Blue
#3B5B92
ΔE00 6.38
Slate Blue
#6A5ACD
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CB1 #B1A651
analogous
#518CB1 #515CB1 #7651B1
triadic
#515CB1 #B1515C #5CB151
tetradic
#515CB1 #B1518C #B1A651 #51B176
square
#515CB1 #B1518C #B1A651 #51B176
split-complementary
#515CB1 #B17651 #8CB151
monochromatic
#2A305E #3D4688 #515CB1 #7B84C4 #A6ABD7
Accessibility & contrast
On white
5.97
#515CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#515CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CB1
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CB1 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#236F7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515cb1; /* rgb */ color: rgb(81, 92, 177); /* oklch */ color: oklch(50.9% 0.134 275.1);
Tailwind
colors: {
custom: {
50: '#898ac9',
500: '#515cb1',
950: '#000000',
},
}SCSS
$custom: #515cb1; $custom-light: #898ac9; $custom-dark: #000000;
JSON
{
"hex": "#515cb1",
"rgb": {
"r": 81,
"g": 92,
"b": 177
},
"hsl": {
"h": 233.125,
"s": 38.095,
"l": 50.588
},
"oklch": {
"l": 0.50888,
"c": 0.13381,
"h": 275.1
},
"luminance": 0.12578
}Semantic roles & 50–950 ramp
primary
#515CB1
secondary
#C4BF9A
accent
#C15ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82