#3171BA#3171BA
#3171BA is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.132 H 253.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3171BA |
|---|---|
| RGB | rgb(49, 113, 186) |
| HSL | hsl(212, 58%, 46%) |
| HSV | hsv(212, 74%, 73%) |
| CMYK | cmyk(73.7%, 39.2%, 0%, 27.1%) |
| CIE-LAB | lab(46.98, 4.78, -44.35) |
| CIE-LCH | lch(46.98, 44.61, 276.15°) |
| OKLab | oklab(54.38% -0.0367 -0.1265) |
| OKLCH | oklch(54.38% 0.132 253.8) |
| XYZ | xyz(16.0314, 16.0066, 48.6895) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.73
Flat Blue
#3C73A8
ΔE00 2.23
Bluish
#2976BB
ΔE00 2.47
Windows Blue
#3778BF
ΔE00 2.61
Mid Blue
#276AB3
ΔE00 2.65
Muted Blue
#3B719F
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171BA #BA7A31
analogous
#31B5BA #3171BA #3531BA
triadic
#3171BA #BA3171 #71BA31
tetradic
#3171BA #BA31B5 #BA7A31 #31BA35
square
#3171BA #BA31B5 #BA7A31 #31BA35
split-complementary
#3171BA #BA3531 #B5BA31
monochromatic
#173659 #24548A #3171BA #5690D2 #86B0DF
Accessibility & contrast
On white
5.00
#3171BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#3171BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171BA
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171BA | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3171ba; /* rgb */ color: rgb(49, 113, 186); /* oklch */ color: oklch(54.4% 0.132 253.8);
Tailwind
colors: {
custom: {
50: '#7b99cf',
500: '#3171ba',
950: '#000000',
},
}SCSS
$custom: #3171ba; $custom-light: #7b99cf; $custom-dark: #000000;
JSON
{
"hex": "#3171ba",
"rgb": {
"r": 49,
"g": 113,
"b": 186
},
"hsl": {
"h": 211.971,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.5438,
"c": 0.13169,
"h": 253.8
},
"luminance": 0.16008
}Semantic roles & 50–950 ramp
primary
#3171BA
secondary
#C9A67E
accent
#9946E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82