#515CB2#515CB2
#515CB2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.135 H 275.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #515CB2 |
|---|---|
| RGB | rgb(81, 92, 178) |
| HSL | hsl(233, 39%, 51%) |
| HSV | hsv(233, 54%, 70%) |
| CMYK | cmyk(54.5%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(42.18, 20.94, -47.26) |
| CIE-LCH | lch(42.18, 51.69, 293.89°) |
| OKLab | oklab(50.96% 0.0119 -0.1347) |
| OKLCH | oklch(50.96% 0.135 275.1) |
| XYZ | xyz(15.2538, 12.6170, 43.7424) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.80
Dusky Blue
#475F94
ΔE00 5.37
Warm Blue
#4B57DB
ΔE00 5.98
Dark Periwinkle
#665FD1
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.45
Denim Blue
#3B5B92
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CB2 #B2A751
analogous
#518CB2 #515CB2 #7651B2
triadic
#515CB2 #B2515C #5CB251
tetradic
#515CB2 #B2518C #B2A751 #51B276
square
#515CB2 #B2518C #B2A751 #51B276
split-complementary
#515CB2 #B27651 #8CB251
monochromatic
#2A305F #3D4589 #515CB2 #7B84C5 #A6ABD8
Accessibility & contrast
On white
5.96
#515CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#515CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CB2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CB2 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#216F7E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515cb2; /* rgb */ color: rgb(81, 92, 178); /* oklch */ color: oklch(51.0% 0.135 275.1);
Tailwind
colors: {
custom: {
50: '#898ac9',
500: '#515cb2',
950: '#000000',
},
}SCSS
$custom: #515cb2; $custom-light: #898ac9; $custom-dark: #000000;
JSON
{
"hex": "#515cb2",
"rgb": {
"r": 81,
"g": 92,
"b": 178
},
"hsl": {
"h": 233.196,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.50955,
"c": 0.13526,
"h": 275.1
},
"luminance": 0.12618
}Semantic roles & 50–950 ramp
primary
#515CB2
secondary
#C5C09A
accent
#C159CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82