#515BB9#515BB9
#515BB9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.147 H 275.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #515BB9 |
|---|---|
| RGB | rgb(81, 91, 185) |
| HSL | hsl(234, 43%, 52%) |
| HSV | hsv(234, 56%, 73%) |
| CMYK | cmyk(56.2%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(42.36, 23.89, -51.08) |
| CIE-LCH | lch(42.36, 56.39, 295.07°) |
| OKLab | oklab(51.23% 0.0138 -0.1459) |
| OKLCH | oklch(51.23% 0.147 275.4) |
| XYZ | xyz(15.8886, 12.7332, 47.5100) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.00
Warm Blue
#4B57DB
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 6.25
Dusky Blue
#475F94
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BB9 #B9AF51
analogous
#518FB9 #515BB9 #7B51B9
triadic
#515BB9 #B9515B #5BB951
tetradic
#515BB9 #B9518F #B9AF51 #51B97B
square
#515BB9 #B9518F #B9AF51 #51B97B
split-complementary
#515BB9 #B97B51 #8FB951
monochromatic
#292F66 #3B4392 #515BB9 #7D84CB #A8ADDC
Accessibility & contrast
On white
5.92
#515BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#515BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BB9
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BB9 | 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)
#2A68BC
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#177081
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515bb9; /* rgb */ color: rgb(81, 91, 185); /* oklch */ color: oklch(51.2% 0.147 275.4);
Tailwind
colors: {
custom: {
50: '#8a89cf',
500: '#515bb9',
950: '#000000',
},
}SCSS
$custom: #515bb9; $custom-light: #8a89cf; $custom-dark: #000000;
JSON
{
"hex": "#515bb9",
"rgb": {
"r": 81,
"g": 91,
"b": 185
},
"hsl": {
"h": 234.231,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.51231,
"c": 0.1466,
"h": 275.4
},
"luminance": 0.12734
}Semantic roles & 50–950 ramp
primary
#515BB9
secondary
#CAC59C
accent
#C655D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82