#3170AE#3170AE

#3170AE is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.117 H 250.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3170AE
RGBrgb(49, 112, 174)
HSLhsl(210, 56%, 44%)
HSVhsv(210, 72%, 68%)
CMYKcmyk(71.8%, 35.6%, 0%, 31.8%)
CIE-LABlab(46.04, 0.98, -38.88)
CIE-LCHlch(46.04, 38.89, 271.44°)
OKLaboklab(53.43% -0.0388 -0.1105)
OKLCHoklch(53.43% 0.117 250.7)
XYZxyz(14.6979, 15.2957, 42.2139)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170AE #AE6F31
analogous
#31AEAD #3170AE #3131AE
triadic
#3170AE #AE3170 #70AE31
tetradic
#3170AE #AD31AE #AE6F31 #31AE31
square
#3170AE #AD31AE #AE6F31 #31AE31
split-complementary
#3170AE #AE3131 #AEAD31
monochromatic
#16334E #24517E #3170AE #4F8FCD #7FADDB

Accessibility & contrast

On white

5.17
#3170AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3170AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170AE#FFFFFF#000000##FFFFFF
##3170AE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5473B1
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3170ae;
/* rgb */ color: rgb(49, 112, 174);
/* oklch */ color: oklch(53.4% 0.117 250.7);
Tailwind
colors: {
  custom: {
    50: '#7998c6',
    500: '#3170ae',
    950: '#000000',
  },
}
SCSS
$custom: #3170ae;
$custom-light: #7998c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3170ae",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 174
  },
  "hsl": {
    "h": 209.76,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.11708,
    "h": 250.7
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#3170AE
secondary
#C49D77
accent
#9348DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3170AE

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

Preview Lab → · Contrast checker → · Palette generator →

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