#3170A2#3170A2

#3170A2 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.102 H 245.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3170A2
RGBrgb(49, 112, 162)
HSLhsl(207, 54%, 41%)
HSVhsv(207, 70%, 64%)
CMYKcmyk(69.8%, 30.9%, 0%, 36.5%)
CIE-LABlab(45.43, -3.38, -32.81)
CIE-LCHlch(45.43, 32.98, 264.12°)
OKLaboklab(52.75% -0.0423 -0.0928)
OKLCHoklch(52.75% 0.102 245.5)
XYZxyz(13.5799, 14.8485, 36.3258)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170A2 #A26331
analogous
#31A29C #3170A2 #3137A2
triadic
#3170A2 #A23170 #70A231
tetradic
#3170A2 #9C31A2 #A26331 #37A231
square
#3170A2 #9C31A2 #A26331 #37A231
split-complementary
#3170A2 #A23137 #A29C31
monochromatic
#152F44 #235073 #3170A2 #488FC8 #77ACD6

Accessibility & contrast

On white

5.29
#3170A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3170A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3170A2#FFFFFF#000000##FFFFFF
##3170A21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3170a2;
/* rgb */ color: rgb(49, 112, 162);
/* oklch */ color: oklch(52.7% 0.102 245.5);
Tailwind
colors: {
  custom: {
    50: '#7798be',
    500: '#3170a2',
    950: '#000000',
  },
}
SCSS
$custom: #3170a2;
$custom-light: #7798be;
$custom-dark: #000000;
JSON
{
  "hex": "#3170a2",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 206.549,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.10195,
    "h": 245.5
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#3170A2
secondary
#BE9371
accent
#8B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3170A2

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

Preview Lab → · Contrast checker → · Palette generator →

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