#515FB3#515FB3
#515FB3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.133 H 273.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #515FB3 |
|---|---|
| RGB | rgb(81, 95, 179) |
| HSL | hsl(231, 39%, 51%) |
| HSV | hsv(231, 55%, 70%) |
| CMYK | cmyk(54.7%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(43.04, 19.37, -46.47) |
| CIE-LCH | lch(43.04, 50.34, 292.63°) |
| OKLab | oklab(51.63% 0.0086 -0.1324) |
| OKLCH | oklch(51.63% 0.133 273.7) |
| XYZ | xyz(15.6196, 13.1873, 44.3614) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.09
Iris
#6258C4
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 6.06
Warm Blue
#4B57DB
ΔE00 6.19
French Blue
#436BAD
ΔE00 6.26
Denim Blue
#3B5B92
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FB3 #B3A551
analogous
#5190B3 #515FB3 #7451B3
triadic
#515FB3 #B3515F #5FB351
tetradic
#515FB3 #B35190 #B3A551 #51B374
square
#515FB3 #B35190 #B3A551 #51B374
split-complementary
#515FB3 #B37451 #90B351
monochromatic
#2A3260 #3C488A #515FB3 #7C86C6 #A6ADD8
Accessibility & contrast
On white
5.77
#515FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#515FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FB3
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FB3 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#1F7180
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #515fb3; /* rgb */ color: rgb(81, 95, 179); /* oklch */ color: oklch(51.6% 0.133 273.7);
Tailwind
colors: {
custom: {
50: '#898cca',
500: '#515fb3',
950: '#000000',
},
}SCSS
$custom: #515fb3; $custom-light: #898cca; $custom-dark: #000000;
JSON
{
"hex": "#515fb3",
"rgb": {
"r": 81,
"g": 95,
"b": 179
},
"hsl": {
"h": 231.429,
"s": 39.2,
"l": 50.98
},
"oklch": {
"l": 0.5163,
"c": 0.13264,
"h": 273.7
},
"luminance": 0.13188
}Semantic roles & 50–950 ramp
primary
#515FB3
secondary
#C6BF9A
accent
#BE59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82