#3173B4#3173B4

#3173B4 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.5% C 0.122 H 250.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3173B4
RGBrgb(49, 115, 180)
HSLhsl(210, 57%, 45%)
HSVhsv(210, 73%, 71%)
CMYKcmyk(72.8%, 36.1%, 0%, 29.4%)
CIE-LABlab(47.25, 1.33, -40.45)
CIE-LCHlch(47.25, 40.48, 271.89°)
OKLaboklab(54.48% -0.0401 -0.115)
OKLCHoklch(54.48% 0.122 250.8)
XYZxyz(15.6325, 16.2080, 45.4757)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B4 #B47231
analogous
#31B4B3 #3173B4 #3132B4
triadic
#3173B4 #B43173 #73B431
tetradic
#3173B4 #B331B4 #B47231 #32B431
square
#3173B4 #B331B4 #B47231 #32B431
split-complementary
#3173B4 #B43132 #B4B331
monochromatic
#173654 #245484 #3173B4 #5292D0 #82B0DD

Accessibility & contrast

On white

4.95
#3173B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3173B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B4#FFFFFF#000000##FFFFFF
##3173B41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5577B7
Deuteranopia (green-blind)
#426AB3
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3173b4;
/* rgb */ color: rgb(49, 115, 180);
/* oklch */ color: oklch(54.5% 0.122 250.8);
Tailwind
colors: {
  custom: {
    50: '#7a9acb',
    500: '#3173b4',
    950: '#000000',
  },
}
SCSS
$custom: #3173b4;
$custom-light: #7a9acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b4",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 180
  },
  "hsl": {
    "h": 209.771,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.12182,
    "h": 250.8
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

primary
#3173B4
secondary
#C6A07B
accent
#9347E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173B4

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

Preview Lab → · Contrast checker → · Palette generator →

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