#3170B6#3170B6
#3170B6 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.128 H 253.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B6 |
|---|---|
| RGB | rgb(49, 112, 182) |
| HSL | hsl(212, 58%, 45%) |
| HSV | hsv(212, 73%, 71%) |
| CMYK | cmyk(73.1%, 38.5%, 0%, 28.6%) |
| CIE-LAB | lab(46.47, 3.92, -42.85) |
| CIE-LCH | lch(46.47, 43.03, 275.23°) |
| OKLab | oklab(53.91% -0.0367 -0.1221) |
| OKLCH | oklch(53.91% 0.128 253.3) |
| XYZ | xyz(15.5012, 15.6170, 46.4443) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.61
Flat Blue
#3C73A8
ΔE00 2.05
Mid Blue
#276AB3
ΔE00 2.18
Bluish
#2976BB
ΔE00 2.68
Windows Blue
#3778BF
ΔE00 3.07
Muted Blue
#3B719F
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B6 #B67731
analogous
#31B2B6 #3170B6 #3431B6
triadic
#3170B6 #B63170 #70B631
tetradic
#3170B6 #B631B2 #B67731 #31B634
square
#3170B6 #B631B2 #B67731 #31B634
split-complementary
#3170B6 #B63431 #B2B631
monochromatic
#173556 #245286 #3170B6 #538FD1 #84AEDE
Accessibility & contrast
On white
5.09
#3170B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#3170B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B6
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B6 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5075B9
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3170b6; /* rgb */ color: rgb(49, 112, 182); /* oklch */ color: oklch(53.9% 0.128 253.3);
Tailwind
colors: {
custom: {
50: '#7a98cc',
500: '#3170b6',
950: '#000000',
},
}SCSS
$custom: #3170b6; $custom-light: #7a98cc; $custom-dark: #000000;
JSON
{
"hex": "#3170b6",
"rgb": {
"r": 49,
"g": 112,
"b": 182
},
"hsl": {
"h": 211.579,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.53906,
"c": 0.1275,
"h": 253.3
},
"luminance": 0.15619
}Semantic roles & 50–950 ramp
primary
#3170B6
secondary
#C7A37C
accent
#9847E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82