#3170AA#3170AA

#3170AA is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.112 H 249.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3170AA
RGBrgb(49, 112, 170)
HSLhsl(209, 55%, 43%)
HSVhsv(209, 71%, 67%)
CMYKcmyk(71.2%, 34.1%, 0%, 33.3%)
CIE-LABlab(45.83, -0.48, -36.87)
CIE-LCHlch(45.83, 36.87, 269.25°)
OKLaboklab(53.2% -0.0399 -0.1046)
OKLCHoklch(53.2% 0.112 249.1)
XYZxyz(14.3138, 15.1420, 40.1908)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170AA #AA6B31
analogous
#31AAA7 #3170AA #3134AA
triadic
#3170AA #AA3170 #70AA31
tetradic
#3170AA #A731AA #AA6B31 #34AA31
square
#3170AA #A731AA #AA6B31 #34AA31
split-complementary
#3170AA #AA3134 #AAA731
monochromatic
#16314B #23517A #3170AA #4D8FCC #7CADD9

Accessibility & contrast

On white

5.21
#3170AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3170AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3170AA#FFFFFF#000000##FFFFFF
##3170AA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5673AC
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3170aa;
/* rgb */ color: rgb(49, 112, 170);
/* oklch */ color: oklch(53.2% 0.112 249.1);
Tailwind
colors: {
  custom: {
    50: '#7898c3',
    500: '#3170aa',
    950: '#000000',
  },
}
SCSS
$custom: #3170aa;
$custom-light: #7898c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3170aa",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 208.76,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.11195,
    "h": 249.1
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#3170AA
secondary
#C29A75
accent
#9149DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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