#3173AE#3173AE

#3173AE is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.1% C 0.114 H 248.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3173AE
RGBrgb(49, 115, 174)
HSLhsl(208, 56%, 44%)
HSVhsv(208, 72%, 68%)
CMYKcmyk(71.8%, 33.9%, 0%, 31.8%)
CIE-LABlab(46.93, -0.86, -37.46)
CIE-LCHlch(46.93, 37.47, 268.69°)
OKLaboklab(54.13% -0.0417 -0.1063)
OKLCHoklch(54.13% 0.114 248.6)
XYZxyz(15.0345, 15.9688, 42.3261)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173AE #AE6C31
analogous
#31AEAA #3173AE #3134AE
triadic
#3173AE #AE3173 #73AE31
tetradic
#3173AE #AA31AE #AE6C31 #34AE31
square
#3173AE #AA31AE #AE6C31 #34AE31
split-complementary
#3173AE #AE3134 #AEAA31
monochromatic
#16344E #24537E #3173AE #4F92CD #7FAFDB

Accessibility & contrast

On white

5.01
#3173AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3173AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173AE#FFFFFF#000000##FFFFFF
##3173AE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B1
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3173ae;
/* rgb */ color: rgb(49, 115, 174);
/* oklch */ color: oklch(54.1% 0.114 248.6);
Tailwind
colors: {
  custom: {
    50: '#799bc6',
    500: '#3173ae',
    950: '#000000',
  },
}
SCSS
$custom: #3173ae;
$custom-light: #799bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3173ae",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 174
  },
  "hsl": {
    "h": 208.32,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.11418,
    "h": 248.6
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#3173AE
secondary
#C49B77
accent
#9048DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173AE

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

Preview Lab → · Contrast checker → · Palette generator →

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