#3173B6#3173B6
#3173B6 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.124 H 251.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3173B6 |
|---|---|
| RGB | rgb(49, 115, 182) |
| HSL | hsl(210, 58%, 45%) |
| HSV | hsv(210, 73%, 71%) |
| CMYK | cmyk(73.1%, 36.8%, 0%, 28.6%) |
| CIE-LAB | lab(47.35, 2.07, -41.44) |
| CIE-LCH | lch(47.35, 41.50, 272.86°) |
| OKLab | oklab(54.6% -0.0395 -0.1179) |
| OKLCH | oklch(54.6% 0.124 251.5) |
| XYZ | xyz(15.8377, 16.2901, 46.5565) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.50
Medium Blue
#2C6FBB
ΔE00 1.65
Flat Blue
#3C73A8
ΔE00 1.65
Windows Blue
#3778BF
ΔE00 2.16
Muted Blue
#3B719F
ΔE00 2.97
Mid Blue
#276AB3
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3173B6 #B67431
analogous
#31B5B6 #3173B6 #3231B6
triadic
#3173B6 #B63173 #73B631
tetradic
#3173B6 #B631B5 #B67431 #31B632
square
#3173B6 #B631B5 #B67431 #31B632
split-complementary
#3173B6 #B63231 #B5B631
monochromatic
#173656 #245586 #3173B6 #5392D1 #84B0DE
Accessibility & contrast
On white
4.93
#3173B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#3173B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3173B6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3173B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3173B6 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5477B9
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3173b6; /* rgb */ color: rgb(49, 115, 182); /* oklch */ color: oklch(54.6% 0.124 251.5);
Tailwind
colors: {
custom: {
50: '#7a9acc',
500: '#3173b6',
950: '#000000',
},
}SCSS
$custom: #3173b6; $custom-light: #7a9acc; $custom-dark: #000000;
JSON
{
"hex": "#3173b6",
"rgb": {
"r": 49,
"g": 115,
"b": 182
},
"hsl": {
"h": 210.226,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.54598,
"c": 0.12439,
"h": 251.5
},
"luminance": 0.16292
}Semantic roles & 50–950 ramp
primary
#3173B6
secondary
#C7A27C
accent
#9447E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82