#3171B9#3171B9
#3171B9 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.130 H 253.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3171B9 |
|---|---|
| RGB | rgb(49, 113, 185) |
| HSL | hsl(212, 58%, 46%) |
| HSV | hsv(212, 74%, 73%) |
| CMYK | cmyk(73.5%, 38.9%, 0%, 27.5%) |
| CIE-LAB | lab(46.93, 4.41, -43.86) |
| CIE-LCH | lch(46.93, 44.08, 275.74°) |
| OKLab | oklab(54.32% -0.0369 -0.125) |
| OKLCH | oklch(54.32% 0.13 253.6) |
| XYZ | xyz(15.9255, 15.9642, 48.1316) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.74
Flat Blue
#3C73A8
ΔE00 2.13
Bluish
#2976BB
ΔE00 2.42
Mid Blue
#276AB3
ΔE00 2.61
Windows Blue
#3778BF
ΔE00 2.64
Muted Blue
#3B719F
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171B9 #B97931
analogous
#31B5B9 #3171B9 #3531B9
triadic
#3171B9 #B93171 #71B931
tetradic
#3171B9 #B931B5 #B97931 #31B935
square
#3171B9 #B931B5 #B97931 #31B935
split-complementary
#3171B9 #B93531 #B5B931
monochromatic
#173658 #245389 #3171B9 #5590D2 #86B0DF
Accessibility & contrast
On white
5.01
#3171B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#3171B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171B9
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171B9 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#3A69B8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3171b9; /* rgb */ color: rgb(49, 113, 185); /* oklch */ color: oklch(54.3% 0.130 253.6);
Tailwind
colors: {
custom: {
50: '#7b99ce',
500: '#3171b9',
950: '#000000',
},
}SCSS
$custom: #3171b9; $custom-light: #7b99ce; $custom-dark: #000000;
JSON
{
"hex": "#3171b9",
"rgb": {
"r": 49,
"g": 113,
"b": 185
},
"hsl": {
"h": 211.765,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.54319,
"c": 0.13037,
"h": 253.6
},
"luminance": 0.15966
}Semantic roles & 50–950 ramp
primary
#3171B9
secondary
#C8A57D
accent
#9846E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82