#3171B7#3171B7
#3171B7 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.128 H 253.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3171B7 |
|---|---|
| RGB | rgb(49, 113, 183) |
| HSL | hsl(211, 58%, 45%) |
| HSV | hsv(211, 73%, 72%) |
| CMYK | cmyk(73.2%, 38.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.82, 3.67, -42.87) |
| CIE-LCH | lch(46.82, 43.03, 274.89°) |
| OKLab | oklab(54.2% -0.0374 -0.1222) |
| OKLCH | oklch(54.2% 0.128 253) |
| XYZ | xyz(15.7158, 15.8804, 47.0275) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.83
Flat Blue
#3C73A8
ΔE00 1.94
Bluish
#2976BB
ΔE00 2.32
Mid Blue
#276AB3
ΔE00 2.54
Windows Blue
#3778BF
ΔE00 2.70
Muted Blue
#3B719F
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171B7 #B77731
analogous
#31B4B7 #3171B7 #3431B7
triadic
#3171B7 #B73171 #71B731
tetradic
#3171B7 #B731B4 #B77731 #31B734
square
#3171B7 #B731B4 #B77731 #31B734
split-complementary
#3171B7 #B73431 #B4B731
monochromatic
#173556 #245387 #3171B7 #5490D1 #84AFDE
Accessibility & contrast
On white
5.03
#3171B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#3171B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171B7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171B7 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#3C69B6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3171b7; /* rgb */ color: rgb(49, 113, 183); /* oklch */ color: oklch(54.2% 0.128 253.0);
Tailwind
colors: {
custom: {
50: '#7a99cd',
500: '#3171b7',
950: '#000000',
},
}SCSS
$custom: #3171b7; $custom-light: #7a99cd; $custom-dark: #000000;
JSON
{
"hex": "#3171b7",
"rgb": {
"r": 49,
"g": 113,
"b": 183
},
"hsl": {
"h": 211.343,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.54197,
"c": 0.12776,
"h": 253
},
"luminance": 0.15882
}Semantic roles & 50–950 ramp
primary
#3171B7
secondary
#C8A47C
accent
#9747E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82