#5176BF#5176BF
#5176BF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.2% C 0.121 H 262.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5176BF |
|---|---|
| RGB | rgb(81, 118, 191) |
| HSL | hsl(220, 46%, 53%) |
| HSV | hsv(220, 58%, 75%) |
| CMYK | cmyk(57.6%, 38.2%, 0%, 25.1%) |
| CIE-LAB | lab(50.06, 9.02, -42.27) |
| CIE-LCH | lch(50.06, 43.22, 282.04°) |
| OKLab | oklab(57.23% -0.0151 -0.1198) |
| OKLCH | oklch(57.23% 0.121 262.8) |
| XYZ | xyz(19.2725, 18.4662, 51.8288) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.82
Windows Blue
#3778BF
ΔE00 4.58
French Blue
#436BAD
ΔE00 4.78
Medium Blue
#2C6FBB
ΔE00 5.36
Flat Blue
#3C73A8
ΔE00 5.45
Dull Blue
#49759C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5176BF #BF9A51
analogous
#51ADBF #5176BF #6351BF
triadic
#5176BF #BF5176 #76BF51
tetradic
#5176BF #BF51AD #BF9A51 #51BF63
square
#5176BF #BF51AD #BF9A51 #51BF63
split-complementary
#5176BF #BF6351 #ADBF51
monochromatic
#283F6D #39599A #5176BF #7E99CF #AABCE0
Accessibility & contrast
On white
4.47
#5176BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#5176BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5176BF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5176BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5176BF | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5176bf; /* rgb */ color: rgb(81, 118, 191); /* oklch */ color: oklch(57.2% 0.121 262.8);
Tailwind
colors: {
custom: {
50: '#8a9dd2',
500: '#5176bf',
950: '#000000',
},
}SCSS
$custom: #5176bf; $custom-light: #8a9dd2; $custom-dark: #000000;
JSON
{
"hex": "#5176bf",
"rgb": {
"r": 81,
"g": 118,
"b": 191
},
"hsl": {
"h": 219.818,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.57233,
"c": 0.12077,
"h": 262.8
},
"luminance": 0.18468
}Semantic roles & 50–950 ramp
primary
#5176BF
secondary
#CEBE9E
accent
#A952D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82