#3173AF#3173AF

#3173AF is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.115 H 249.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3173AF
RGBrgb(49, 115, 175)
HSLhsl(209, 56%, 44%)
HSVhsv(209, 72%, 69%)
CMYKcmyk(72%, 34.3%, 0%, 31.4%)
CIE-LABlab(46.98, -0.49, -37.96)
CIE-LCHlch(46.98, 37.96, 269.26°)
OKLaboklab(54.19% -0.0414 -0.1077)
OKLCHoklch(54.19% 0.115 249)
XYZxyz(15.1323, 16.0079, 42.8415)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173AF #AF6D31
analogous
#31AFAC #3173AF #3134AF
triadic
#3173AF #AF3173 #73AF31
tetradic
#3173AF #AC31AF #AF6D31 #34AF31
square
#3173AF #AC31AF #AF6D31 #34AF31
split-complementary
#3173AF #AF3134 #AFAC31
monochromatic
#16344F #24547F #3173AF #4F92CE #7FAFDB

Accessibility & contrast

On white

5.00
#3173AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3173AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173AF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173AF#FFFFFF#000000##FFFFFF
##3173AF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3173af;
/* rgb */ color: rgb(49, 115, 175);
/* oklch */ color: oklch(54.2% 0.115 249.0);
Tailwind
colors: {
  custom: {
    50: '#799bc7',
    500: '#3173af',
    950: '#000000',
  },
}
SCSS
$custom: #3173af;
$custom-light: #799bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3173af",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 208.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.11545,
    "h": 249
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#3173AF
secondary
#C49C78
accent
#9048E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173AF

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

Preview Lab → · Contrast checker → · Palette generator →

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