#3171BF#3171BF
#3171BF is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.138 H 255.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3171BF |
|---|---|
| RGB | rgb(49, 113, 191) |
| HSL | hsl(213, 59%, 47%) |
| HSV | hsv(213, 74%, 75%) |
| CMYK | cmyk(74.3%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(47.27, 6.63, -46.79) |
| CIE-LCH | lch(47.27, 47.26, 278.07°) |
| OKLab | oklab(54.69% -0.0355 -0.1336) |
| OKLCH | oklch(54.69% 0.138 255.1) |
| XYZ | xyz(16.5722, 16.2229, 51.5380) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.01
Windows Blue
#3778BF
ΔE00 2.58
Flat Blue
#3C73A8
ΔE00 2.74
Bluish
#2976BB
ΔE00 2.81
Mid Blue
#276AB3
ΔE00 2.95
French Blue
#436BAD
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171BF #BF7F31
analogous
#31B8BF #3171BF #3831BF
triadic
#3171BF #BF3171 #71BF31
tetradic
#3171BF #BF31B8 #BF7F31 #31BF38
square
#3171BF #BF31B8 #BF7F31 #31BF38
split-complementary
#3171BF #BF3831 #B8BF31
monochromatic
#18375E #25548E #3171BF #5991D4 #8AB1E1
Accessibility & contrast
On white
4.95
#3171BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#3171BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171BF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171BF | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3171bf; /* rgb */ color: rgb(49, 113, 191); /* oklch */ color: oklch(54.7% 0.138 255.1);
Tailwind
colors: {
custom: {
50: '#7c99d3',
500: '#3171bf',
950: '#000000',
},
}SCSS
$custom: #3171bf; $custom-light: #7c99d3; $custom-dark: #000000;
JSON
{
"hex": "#3171bf",
"rgb": {
"r": 49,
"g": 113,
"b": 191
},
"hsl": {
"h": 212.958,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.54692,
"c": 0.13828,
"h": 255.1
},
"luminance": 0.16225
}Semantic roles & 50–950 ramp
primary
#3171BF
secondary
#CBAA81
accent
#9C45E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83