#515BC1#515BC1
#515BC1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.158 H 275.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #515BC1 |
|---|---|
| RGB | rgb(81, 91, 193) |
| HSL | hsl(235, 47%, 54%) |
| HSV | hsv(235, 58%, 76%) |
| CMYK | cmyk(58%, 52.8%, 0%, 24.3%) |
| CIE-LAB | lab(42.88, 26.55, -54.89) |
| CIE-LCH | lch(42.88, 60.97, 295.81°) |
| OKLab | oklab(51.8% 0.0144 -0.1572) |
| OKLCH | oklch(51.8% 0.158 275.2) |
| XYZ | xyz(16.7569, 13.0805, 52.0835) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.61
Azul
#1D5DEC
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BC1 #C1B751
analogous
#5193C1 #515BC1 #7F51C1
triadic
#515BC1 #C1515B #5BC151
tetradic
#515BC1 #C15193 #C1B751 #51C17F
square
#515BC1 #C15193 #C1B751 #51C17F
split-complementary
#515BC1 #C17F51 #93C151
monochromatic
#282E70 #38419D #515BC1 #7E86D1 #ABB0E1
Accessibility & contrast
On white
5.81
#515BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#515BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BC1
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BC1 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #515bc1; /* rgb */ color: rgb(81, 91, 193); /* oklch */ color: oklch(51.8% 0.158 275.2);
Tailwind
colors: {
custom: {
50: '#8b89d4',
500: '#515bc1',
950: '#000000',
},
}SCSS
$custom: #515bc1; $custom-light: #8b89d4; $custom-dark: #000000;
JSON
{
"hex": "#515bc1",
"rgb": {
"r": 81,
"g": 91,
"b": 193
},
"hsl": {
"h": 234.643,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.51795,
"c": 0.15783,
"h": 275.2
},
"luminance": 0.13082
}Semantic roles & 50–950 ramp
primary
#515BC1
secondary
#CFCB9F
accent
#CB51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83