#3170C1#3170C1
#3170C1 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.142 H 256.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3170C1 |
|---|---|
| RGB | rgb(49, 112, 193) |
| HSL | hsl(214, 60%, 47%) |
| HSV | hsv(214, 75%, 76%) |
| CMYK | cmyk(74.6%, 42%, 0%, 24.3%) |
| CIE-LAB | lab(47.09, 8.00, -48.22) |
| CIE-LCH | lch(47.09, 48.88, 279.42°) |
| OKLab | oklab(54.6% -0.0342 -0.1379) |
| OKLCH | oklch(54.6% 0.142 256.1) |
| XYZ | xyz(16.6829, 16.0897, 52.6681) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.15
Mid Blue
#276AB3
ΔE00 2.88
Windows Blue
#3778BF
ΔE00 3.00
Flat Blue
#3C73A8
ΔE00 3.09
Bluish
#2976BB
ΔE00 3.32
French Blue
#436BAD
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170C1 #C18231
analogous
#31B8C1 #3170C1 #3A31C1
triadic
#3170C1 #C13170 #70C131
tetradic
#3170C1 #C131B8 #C18231 #31C13A
square
#3170C1 #C131B8 #C18231 #31C13A
split-complementary
#3170C1 #C13A31 #B8C131
monochromatic
#18375F #255490 #3170C1 #5A90D5 #8BB1E2
Accessibility & contrast
On white
4.98
#3170C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#3170C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170C1
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170C1 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#306ABF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3170c1; /* rgb */ color: rgb(49, 112, 193); /* oklch */ color: oklch(54.6% 0.142 256.1);
Tailwind
colors: {
custom: {
50: '#7c98d4',
500: '#3170c1',
950: '#000000',
},
}SCSS
$custom: #3170c1; $custom-light: #7c98d4; $custom-dark: #000000;
JSON
{
"hex": "#3170c1",
"rgb": {
"r": 49,
"g": 112,
"b": 193
},
"hsl": {
"h": 213.75,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.54595,
"c": 0.14203,
"h": 256.1
},
"luminance": 0.16092
}Semantic roles & 50–950 ramp
primary
#3170C1
secondary
#CCAB82
accent
#9E45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83