#3173AC#3173AC

#3173AC is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.112 H 247.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3173AC
RGBrgb(49, 115, 172)
HSLhsl(208, 56%, 43%)
HSVhsv(208, 72%, 67%)
CMYKcmyk(71.5%, 33.1%, 0%, 32.5%)
CIE-LABlab(46.83, -1.58, -36.45)
CIE-LCHlch(46.83, 36.49, 267.51°)
OKLaboklab(54.02% -0.0423 -0.1033)
OKLCHoklch(54.02% 0.112 247.7)
XYZxyz(14.8409, 15.8914, 41.3069)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173AC #AC6A31
analogous
#31ACA7 #3173AC #3135AC
triadic
#3173AC #AC3173 #73AC31
tetradic
#3173AC #A731AC #AC6A31 #35AC31
square
#3173AC #A731AC #AC6A31 #35AC31
split-complementary
#3173AC #AC3135 #ACA731
monochromatic
#16334D #23537C #3173AC #4E92CC #7DAFDA

Accessibility & contrast

On white

5.03
#3173AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3173AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173AC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173AC#FFFFFF#000000##FFFFFF
##3173AC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3173ac;
/* rgb */ color: rgb(49, 115, 172);
/* oklch */ color: oklch(54.0% 0.112 247.7);
Tailwind
colors: {
  custom: {
    50: '#789bc5',
    500: '#3173ac',
    950: '#000000',
  },
}
SCSS
$custom: #3173ac;
$custom-light: #789bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3173ac",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 172
  },
  "hsl": {
    "h": 207.805,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.11168,
    "h": 247.7
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#3173AC
secondary
#C39A76
accent
#8E49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173AC

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

Preview Lab → · Contrast checker → · Palette generator →

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