#515BB7#515BB7
#515BB7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.144 H 275.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #515BB7 |
|---|---|
| RGB | rgb(81, 91, 183) |
| HSL | hsl(234, 41%, 52%) |
| HSV | hsv(234, 56%, 72%) |
| CMYK | cmyk(55.7%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(42.23, 23.23, -50.11) |
| CIE-LCH | lch(42.23, 55.24, 294.87°) |
| OKLab | oklab(51.09% 0.0136 -0.1431) |
| OKLCH | oklch(51.09% 0.144 275.4) |
| XYZ | xyz(15.6789, 12.6493, 46.4059) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.16
Warm Blue
#4B57DB
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.43
Slate Blue
#6A5ACD
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 6.11
Light Indigo
#6D5ACF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BB7 #B7AD51
analogous
#518EB7 #515BB7 #7A51B7
triadic
#515BB7 #B7515B #5BB751
tetradic
#515BB7 #B7518E #B7AD51 #51B77A
square
#515BB7 #B7518E #B7AD51 #51B77A
split-complementary
#515BB7 #B77A51 #8EB751
monochromatic
#292F64 #3B448F #515BB7 #7C84C9 #A8ADDB
Accessibility & contrast
On white
5.95
#515BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#515BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BB7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BB7 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#1A7080
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515bb7; /* rgb */ color: rgb(81, 91, 183); /* oklch */ color: oklch(51.1% 0.144 275.4);
Tailwind
colors: {
custom: {
50: '#8a89cd',
500: '#515bb7',
950: '#000000',
},
}SCSS
$custom: #515bb7; $custom-light: #8a89cd; $custom-dark: #000000;
JSON
{
"hex": "#515bb7",
"rgb": {
"r": 81,
"g": 91,
"b": 183
},
"hsl": {
"h": 234.118,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.51093,
"c": 0.14376,
"h": 275.4
},
"luminance": 0.1265
}Semantic roles & 50–950 ramp
primary
#515BB7
secondary
#C8C49C
accent
#C557D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82