#3173B8#3173B8

#3173B8 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.127 H 252.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3173B8
RGBrgb(49, 115, 184)
HSLhsl(211, 58%, 46%)
HSVhsv(211, 73%, 72%)
CMYKcmyk(73.4%, 37.5%, 0%, 27.8%)
CIE-LABlab(47.46, 2.80, -42.43)
CIE-LCHlch(47.46, 42.52, 273.78°)
OKLaboklab(54.72% -0.039 -0.1208)
OKLCHoklch(54.72% 0.127 252.1)
XYZxyz(16.0459, 16.3733, 47.6528)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B8 #B87631
analogous
#31B6B8 #3173B8 #3331B8
triadic
#3173B8 #B83173 #73B831
tetradic
#3173B8 #B831B6 #B87631 #31B833
square
#3173B8 #B831B6 #B87631 #31B833
split-complementary
#3173B8 #B83331 #B6B831
monochromatic
#173757 #245588 #3173B8 #5592D2 #85B1DE

Accessibility & contrast

On white

4.91
#3173B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3173B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B8#FFFFFF#000000##FFFFFF
##3173B81.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5377BB
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3173b8;
/* rgb */ color: rgb(49, 115, 184);
/* oklch */ color: oklch(54.7% 0.127 252.1);
Tailwind
colors: {
  custom: {
    50: '#7b9acd',
    500: '#3173b8',
    950: '#000000',
  },
}
SCSS
$custom: #3173b8;
$custom-light: #7b9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b8",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 184
  },
  "hsl": {
    "h": 210.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.12698,
    "h": 252.1
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#3173B8
secondary
#C8A37D
accent
#9647E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3173B8

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

Preview Lab → · Contrast checker → · Palette generator →

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