#3172A1#3172A1

#3172A1 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.2% C 0.099 H 243.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3172A1
RGBrgb(49, 114, 161)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 70%, 63%)
CMYKcmyk(69.6%, 29.2%, 0%, 36.9%)
CIE-LABlab(45.99, -4.94, -31.34)
CIE-LCHlch(45.99, 31.72, 261.05°)
OKLaboklab(53.18% -0.0447 -0.0885)
OKLCHoklch(53.18% 0.099 243.2)
XYZxyz(13.7145, 15.2593, 35.9339)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172A1 #A16031
analogous
#31A198 #3172A1 #313AA1
triadic
#3172A1 #A13172 #72A131
tetradic
#3172A1 #9831A1 #A16031 #3AA131
square
#3172A1 #9831A1 #A16031 #3AA131
split-complementary
#3172A1 #A1313A #A19831
monochromatic
#143043 #235172 #3172A1 #4892C7 #77AED6

Accessibility & contrast

On white

5.18
#3172A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3172A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172A1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172A1#FFFFFF#000000##FFFFFF
##3172A11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A3
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3172a1;
/* rgb */ color: rgb(49, 114, 161);
/* oklch */ color: oklch(53.2% 0.099 243.2);
Tailwind
colors: {
  custom: {
    50: '#769abd',
    500: '#3172a1',
    950: '#000000',
  },
}
SCSS
$custom: #3172a1;
$custom-light: #769abd;
$custom-dark: #000000;
JSON
{
  "hex": "#3172a1",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 161
  },
  "hsl": {
    "h": 205.179,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.09912,
    "h": 243.2
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#3172A1
secondary
#BE9170
accent
#884BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3172A1

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

Preview Lab → · Contrast checker → · Palette generator →

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