#5176B2#5176B2
#5176B2 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.5% C 0.103 H 259.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5176B2 |
|---|---|
| RGB | rgb(81, 118, 178) |
| HSL | hsl(217, 39%, 51%) |
| HSV | hsv(217, 54%, 70%) |
| CMYK | cmyk(54.5%, 33.7%, 0%, 30.2%) |
| CIE-LAB | lab(49.40, 4.74, -35.81) |
| CIE-LCH | lch(49.40, 36.12, 277.54°) |
| OKLab | oklab(56.51% -0.0183 -0.101) |
| OKLCH | oklch(56.51% 0.103 259.7) |
| XYZ | xyz(17.9049, 17.9192, 44.6261) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.14
Windows Blue
#3778BF
ΔE00 4.19
Flat Blue
#3C73A8
ΔE00 4.39
Dull Blue
#49759C
ΔE00 4.57
Medium Blue
#2C6FBB
ΔE00 4.87
Cadet Blue
#4E7496
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5176B2 #B28D51
analogous
#51A6B2 #5176B2 #5C51B2
triadic
#5176B2 #B25176 #76B251
tetradic
#5176B2 #B251A6 #B28D51 #51B25C
square
#5176B2 #B251A6 #B28D51 #51B25C
split-complementary
#5176B2 #B25C51 #A6B251
monochromatic
#2A3E5F #3D5A89 #5176B2 #7B97C5 #A6B9D8
Accessibility & contrast
On white
4.58
#5176B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#5176B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5176B2
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5176B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5176B2 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#19838C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5176b2; /* rgb */ color: rgb(81, 118, 178); /* oklch */ color: oklch(56.5% 0.103 259.7);
Tailwind
colors: {
custom: {
50: '#889dc9',
500: '#5176b2',
950: '#000000',
},
}SCSS
$custom: #5176b2; $custom-light: #889dc9; $custom-dark: #000000;
JSON
{
"hex": "#5176b2",
"rgb": {
"r": 81,
"g": 118,
"b": 178
},
"hsl": {
"h": 217.113,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.56506,
"c": 0.10263,
"h": 259.7
},
"luminance": 0.17921
}Semantic roles & 50–950 ramp
primary
#5176B2
secondary
#C5B59A
accent
#A259CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82