#3172BB#3172BB
#3172BB is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.132 H 253.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3172BB |
|---|---|
| RGB | rgb(49, 114, 187) |
| HSL | hsl(212, 58%, 46%) |
| HSV | hsv(212, 74%, 73%) |
| CMYK | cmyk(73.8%, 39%, 0%, 26.7%) |
| CIE-LAB | lab(47.33, 4.53, -44.37) |
| CIE-LCH | lch(47.33, 44.60, 275.83°) |
| OKLab | oklab(54.67% -0.0373 -0.1265) |
| OKLCH | oklch(54.67% 0.132 253.6) |
| XYZ | xyz(16.2502, 16.2736, 49.2888) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.08
Bluish
#2976BB
ΔE00 2.15
Flat Blue
#3C73A8
ΔE00 2.21
Windows Blue
#3778BF
ΔE00 2.24
Mid Blue
#276AB3
ΔE00 3.01
Muted Blue
#3B719F
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172BB #BB7A31
analogous
#31B7BB #3172BB #3531BB
triadic
#3172BB #BB3172 #72BB31
tetradic
#3172BB #BB31B7 #BB7A31 #31BB35
square
#3172BB #BB31B7 #BB7A31 #31BB35
split-complementary
#3172BB #BB3531 #B7BB31
monochromatic
#18375A #24548B #3172BB #5691D3 #87B1E0
Accessibility & contrast
On white
4.94
#3172BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#3172BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172BB
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172BB | 1.00 | 4.94 | 4.26 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3172bb; /* rgb */ color: rgb(49, 114, 187); /* oklch */ color: oklch(54.7% 0.132 253.6);
Tailwind
colors: {
custom: {
50: '#7b9ad0',
500: '#3172bb',
950: '#000000',
},
}SCSS
$custom: #3172bb; $custom-light: #7b9ad0; $custom-dark: #000000;
JSON
{
"hex": "#3172bb",
"rgb": {
"r": 49,
"g": 114,
"b": 187
},
"hsl": {
"h": 211.739,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.5467,
"c": 0.13194,
"h": 253.6
},
"luminance": 0.16275
}Semantic roles & 50–950 ramp
primary
#3172BB
secondary
#C9A67F
accent
#9846E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82