#3170B7#3170B7
#3170B7 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.129 H 253.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B7 |
|---|---|
| RGB | rgb(49, 112, 183) |
| HSL | hsl(212, 58%, 45%) |
| HSV | hsv(212, 73%, 72%) |
| CMYK | cmyk(73.2%, 38.8%, 0%, 28.2%) |
| CIE-LAB | lab(46.52, 4.29, -43.34) |
| CIE-LCH | lch(46.52, 43.55, 275.65°) |
| OKLab | oklab(53.97% -0.0365 -0.1235) |
| OKLCH | oklch(53.97% 0.129 253.6) |
| XYZ | xyz(15.6049, 15.6585, 46.9905) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.53
Flat Blue
#3C73A8
ΔE00 2.14
Mid Blue
#276AB3
ΔE00 2.21
Bluish
#2976BB
ΔE00 2.72
Windows Blue
#3778BF
ΔE00 3.04
Muted Blue
#3B719F
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B7 #B77831
analogous
#31B3B7 #3170B7 #3531B7
triadic
#3170B7 #B73170 #70B731
tetradic
#3170B7 #B731B3 #B77831 #31B735
square
#3170B7 #B731B3 #B77831 #31B735
split-complementary
#3170B7 #B73531 #B3B731
monochromatic
#173556 #245287 #3170B7 #548FD1 #84AFDE
Accessibility & contrast
On white
5.08
#3170B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#3170B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B7 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3A69B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3170b7; /* rgb */ color: rgb(49, 112, 183); /* oklch */ color: oklch(54.0% 0.129 253.6);
Tailwind
colors: {
custom: {
50: '#7a98cd',
500: '#3170b7',
950: '#000000',
},
}SCSS
$custom: #3170b7; $custom-light: #7a98cd; $custom-dark: #000000;
JSON
{
"hex": "#3170b7",
"rgb": {
"r": 49,
"g": 112,
"b": 183
},
"hsl": {
"h": 211.791,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.53967,
"c": 0.12881,
"h": 253.6
},
"luminance": 0.1566
}Semantic roles & 50–950 ramp
primary
#3170B7
secondary
#C8A47C
accent
#9947E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82