#3170AB#3170AB

#3170AB is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.113 H 249.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3170AB
RGBrgb(49, 112, 171)
HSLhsl(209, 55%, 43%)
HSVhsv(209, 71%, 67%)
CMYKcmyk(71.3%, 34.5%, 0%, 32.9%)
CIE-LABlab(45.88, -0.12, -37.37)
CIE-LCHlch(45.88, 37.37, 269.82°)
OKLaboklab(53.25% -0.0396 -0.1061)
OKLCHoklch(53.25% 0.113 249.5)
XYZxyz(14.4087, 15.1800, 40.6908)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170AB #AB6C31
analogous
#31ABA9 #3170AB #3133AB
triadic
#3170AB #AB3170 #70AB31
tetradic
#3170AB #A931AB #AB6C31 #33AB31
square
#3170AB #A931AB #AB6C31 #33AB31
split-complementary
#3170AB #AB3133 #ABA931
monochromatic
#16324C #23517B #3170AB #4D8FCC #7DADDA

Accessibility & contrast

On white

5.20
#3170AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3170AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3170AB#FFFFFF#000000##FFFFFF
##3170AB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3170ab;
/* rgb */ color: rgb(49, 112, 171);
/* oklch */ color: oklch(53.3% 0.113 249.5);
Tailwind
colors: {
  custom: {
    50: '#7898c4',
    500: '#3170ab',
    950: '#000000',
  },
}
SCSS
$custom: #3170ab;
$custom-light: #7898c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3170ab",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 209.016,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.11323,
    "h": 249.5
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3170AB

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

Preview Lab → · Contrast checker → · Palette generator →

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