#3173B9#3173B9

#3173B9 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.8% C 0.128 H 252.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3173B9
RGBrgb(49, 115, 185)
HSLhsl(211, 58%, 46%)
HSVhsv(211, 74%, 73%)
CMYKcmyk(73.5%, 37.8%, 0%, 27.5%)
CIE-LABlab(47.51, 3.17, -42.92)
CIE-LCHlch(47.51, 43.04, 274.23°)
OKLaboklab(54.78% -0.0388 -0.1223)
OKLCHoklch(54.78% 0.128 252.4)
XYZxyz(16.1510, 16.4154, 48.2068)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B9 #B97731
analogous
#31B7B9 #3173B9 #3331B9
triadic
#3173B9 #B93173 #73B931
tetradic
#3173B9 #B931B7 #B97731 #31B933
square
#3173B9 #B931B7 #B97731 #31B933
split-complementary
#3173B9 #B93331 #B7B931
monochromatic
#173758 #245589 #3173B9 #5592D2 #86B1DF

Accessibility & contrast

On white

4.90
#3173B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3173B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B9#FFFFFF#000000##FFFFFF
##3173B91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BC
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3173b9;
/* rgb */ color: rgb(49, 115, 185);
/* oklch */ color: oklch(54.8% 0.128 252.4);
Tailwind
colors: {
  custom: {
    50: '#7b9ace',
    500: '#3173b9',
    950: '#000000',
  },
}
SCSS
$custom: #3173b9;
$custom-light: #7b9ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b9",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 185
  },
  "hsl": {
    "h": 210.882,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.12827,
    "h": 252.4
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#3173B9
secondary
#C8A47D
accent
#9646E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3173B9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3173B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva