#3171C9#3171C9
#3171C9 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.3% C 0.152 H 257.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3171C9 |
|---|---|
| RGB | rgb(49, 113, 201) |
| HSL | hsl(215, 61%, 49%) |
| HSV | hsv(215, 76%, 79%) |
| CMYK | cmyk(75.6%, 43.8%, 0%, 21.2%) |
| CIE-LAB | lab(47.85, 10.36, -51.60) |
| CIE-LCH | lch(47.85, 52.63, 281.35°) |
| OKLab | oklab(55.34% -0.0334 -0.1478) |
| OKLCH | oklch(55.34% 0.152 257.3) |
| XYZ | xyz(17.7105, 16.6782, 57.5328) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.12
Windows Blue
#3778BF
ΔE00 2.92
Bluish
#2976BB
ΔE00 3.67
Flat Blue
#3C73A8
ΔE00 3.78
Mid Blue
#276AB3
ΔE00 3.82
Cerulean Blue
#056EEE
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171C9 #C98931
analogous
#31BDC9 #3171C9 #3D31C9
triadic
#3171C9 #C93171 #71C931
tetradic
#3171C9 #C931BD #C98931 #31C93D
square
#3171C9 #C931BD #C98931 #31C93D
split-complementary
#3171C9 #C93D31 #BDC931
monochromatic
#193A67 #255598 #3171C9 #5F92D8 #90B4E4
Accessibility & contrast
On white
4.84
#3171C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#3171C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171C9
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171C9 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4579CC
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3171c9; /* rgb */ color: rgb(49, 113, 201); /* oklch */ color: oklch(55.3% 0.152 257.3);
Tailwind
colors: {
custom: {
50: '#7e99da',
500: '#3171c9',
950: '#000000',
},
}SCSS
$custom: #3171c9; $custom-light: #7e99da; $custom-dark: #000000;
JSON
{
"hex": "#3171c9",
"rgb": {
"r": 49,
"g": 113,
"b": 201
},
"hsl": {
"h": 214.737,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.55337,
"c": 0.15151,
"h": 257.3
},
"luminance": 0.1668
}Semantic roles & 50–950 ramp
primary
#3171C9
secondary
#CFB187
accent
#A144E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83