#3173BC#3173BC

#3173BC is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.132 H 253.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3173BC
RGBrgb(49, 115, 188)
HSLhsl(212, 59%, 46%)
HSVhsv(212, 74%, 74%)
CMYKcmyk(73.9%, 38.8%, 0%, 26.3%)
CIE-LABlab(47.68, 4.28, -44.40)
CIE-LCHlch(47.68, 44.60, 275.51°)
OKLaboklab(54.96% -0.038 -0.1266)
OKLCHoklch(54.96% 0.132 253.3)
XYZxyz(16.4711, 16.5434, 49.8923)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173BC #BC7A31
analogous
#31B9BC #3173BC #3531BC
triadic
#3173BC #BC3173 #73BC31
tetradic
#3173BC #BC31B9 #BC7A31 #31BC35
square
#3173BC #BC31B9 #BC7A31 #31BC35
split-complementary
#3173BC #BC3531 #B9BC31
monochromatic
#18385B #24558B #3173BC #5792D3 #88B1E0

Accessibility & contrast

On white

4.87
#3173BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3173BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173BC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173BC#FFFFFF#000000##FFFFFF
##3173BC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3173bc;
/* rgb */ color: rgb(49, 115, 188);
/* oklch */ color: oklch(55.0% 0.132 253.3);
Tailwind
colors: {
  custom: {
    50: '#7b9ad0',
    500: '#3173bc',
    950: '#000000',
  },
}
SCSS
$custom: #3173bc;
$custom-light: #7b9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3173bc",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 211.511,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.13218,
    "h": 253.3
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#3173BC
secondary
#CAA67F
accent
#9846E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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