#3170A1#3170A1

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

Color values

HEX#3170A1
RGBrgb(49, 112, 161)
HSLhsl(206, 53%, 41%)
HSVhsv(206, 70%, 63%)
CMYKcmyk(69.6%, 30.4%, 0%, 36.9%)
CIE-LABlab(45.38, -3.74, -32.29)
CIE-LCHlch(45.38, 32.51, 263.40°)
OKLaboklab(52.69% -0.0426 -0.0913)
OKLCHoklch(52.69% 0.101 245)
XYZxyz(13.4914, 14.8131, 35.8595)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170A1 #A16231
analogous
#31A19A #3170A1 #3138A1
triadic
#3170A1 #A13170 #70A131
tetradic
#3170A1 #9A31A1 #A16231 #38A131
square
#3170A1 #9A31A1 #A16231 #38A131
split-complementary
#3170A1 #A13138 #A19A31
monochromatic
#142F43 #234F72 #3170A1 #4890C7 #77ACD6

Accessibility & contrast

On white

5.30
#3170A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3170A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3170A1#FFFFFF#000000##FFFFFF
##3170A11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A3
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3170a1;
/* rgb */ color: rgb(49, 112, 161);
/* oklch */ color: oklch(52.7% 0.101 245.0);
Tailwind
colors: {
  custom: {
    50: '#7698bd',
    500: '#3170a1',
    950: '#000000',
  },
}
SCSS
$custom: #3170a1;
$custom-light: #7698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3170a1",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 206.25,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.10073,
    "h": 245
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#3170A1
secondary
#BE9270
accent
#8B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #3170A1

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

Preview Lab → · Contrast checker → · Palette generator →

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