#3171B2#3171B2
#3171B2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.121 H 251.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3171B2 |
|---|---|
| RGB | rgb(49, 113, 178) |
| HSL | hsl(210, 57%, 45%) |
| HSV | hsv(210, 72%, 70%) |
| CMYK | cmyk(72.5%, 36.5%, 0%, 30.2%) |
| CIE-LAB | lab(46.55, 1.83, -40.40) |
| CIE-LCH | lch(46.55, 40.44, 272.59°) |
| OKLab | oklab(53.9% -0.0387 -0.1149) |
| OKLCH | oklch(53.9% 0.121 251.4) |
| XYZ | xyz(15.2046, 15.6759, 44.3353) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.32
Flat Blue
#3C73A8
ΔE00 1.50
Bluish
#2976BB
ΔE00 2.20
Mid Blue
#276AB3
ΔE00 2.53
Muted Blue
#3B719F
ΔE00 2.56
Windows Blue
#3778BF
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171B2 #B27231
analogous
#31B1B2 #3171B2 #3231B2
triadic
#3171B2 #B23171 #71B231
tetradic
#3171B2 #B231B1 #B27231 #31B232
square
#3171B2 #B231B1 #B27231 #31B232
split-complementary
#3171B2 #B23231 #B1B231
monochromatic
#173452 #245382 #3171B2 #5190CF #81AEDC
Accessibility & contrast
On white
5.08
#3171B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#3171B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171B2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171B2 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3171b2; /* rgb */ color: rgb(49, 113, 178); /* oklch */ color: oklch(53.9% 0.121 251.4);
Tailwind
colors: {
custom: {
50: '#7999c9',
500: '#3171b2',
950: '#000000',
},
}SCSS
$custom: #3171b2; $custom-light: #7999c9; $custom-dark: #000000;
JSON
{
"hex": "#3171b2",
"rgb": {
"r": 49,
"g": 113,
"b": 178
},
"hsl": {
"h": 210.233,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.53897,
"c": 0.12125,
"h": 251.4
},
"luminance": 0.15678
}Semantic roles & 50–950 ramp
primary
#3171B2
secondary
#C5A079
accent
#9448E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82