#515CB5#515CB5
#515CB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.140 H 275.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #515CB5 |
|---|---|
| RGB | rgb(81, 92, 181) |
| HSL | hsl(233, 40%, 51%) |
| HSV | hsv(233, 55%, 71%) |
| CMYK | cmyk(55.2%, 49.2%, 0%, 29%) |
| CIE-LAB | lab(42.37, 21.93, -48.72) |
| CIE-LCH | lch(42.37, 53.43, 294.23°) |
| OKLab | oklab(51.16% 0.0123 -0.139) |
| OKLCH | oklch(51.16% 0.14 275) |
| XYZ | xyz(15.5583, 12.7388, 45.3461) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 5.67
Dusky Blue
#475F94
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 6.14
Light Indigo
#6D5ACF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CB5 #B5AA51
analogous
#518EB5 #515CB5 #7851B5
triadic
#515CB5 #B5515C #5CB551
tetradic
#515CB5 #B5518E #B5AA51 #51B578
square
#515CB5 #B5518E #B5AA51 #51B578
split-complementary
#515CB5 #B57851 #8EB551
monochromatic
#2A3062 #3C458D #515CB5 #7C84C7 #A7ACDA
Accessibility & contrast
On white
5.92
#515CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#515CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CB5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CB5 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#1D7080
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515cb5; /* rgb */ color: rgb(81, 92, 181); /* oklch */ color: oklch(51.2% 0.140 275.0);
Tailwind
colors: {
custom: {
50: '#8a8acc',
500: '#515cb5',
950: '#000000',
},
}SCSS
$custom: #515cb5; $custom-light: #8a8acc; $custom-dark: #000000;
JSON
{
"hex": "#515cb5",
"rgb": {
"r": 81,
"g": 92,
"b": 181
},
"hsl": {
"h": 233.4,
"s": 40.323,
"l": 51.373
},
"oklch": {
"l": 0.51156,
"c": 0.13956,
"h": 275
},
"luminance": 0.1274
}Semantic roles & 50–950 ramp
primary
#515CB5
secondary
#C7C29B
accent
#C358D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82