#3172A4#3172A4

#3172A4 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.3% C 0.103 H 244.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3172A4
RGBrgb(49, 114, 164)
HSLhsl(206, 54%, 42%)
HSVhsv(206, 70%, 64%)
CMYKcmyk(70.1%, 30.5%, 0%, 35.7%)
CIE-LABlab(46.13, -3.86, -32.87)
CIE-LCHlch(46.13, 33.10, 263.30°)
OKLaboklab(53.34% -0.0437 -0.0929)
OKLCHoklch(53.34% 0.103 244.8)
XYZxyz(13.9822, 15.3664, 37.3439)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172A4 #A46331
analogous
#31A49D #3172A4 #3138A4
triadic
#3172A4 #A43172 #72A431
tetradic
#3172A4 #9D31A4 #A46331 #38A431
square
#3172A4 #9D31A4 #A46331 #38A431
split-complementary
#3172A4 #A43138 #A49D31
monochromatic
#153046 #235175 #3172A4 #4991C9 #79AED7

Accessibility & contrast

On white

5.16
#3172A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3172A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172A4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172A4#FFFFFF#000000##FFFFFF
##3172A41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3172a4;
/* rgb */ color: rgb(49, 114, 164);
/* oklch */ color: oklch(53.3% 0.103 244.8);
Tailwind
colors: {
  custom: {
    50: '#779abf',
    500: '#3172a4',
    950: '#000000',
  },
}
SCSS
$custom: #3172a4;
$custom-light: #779abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3172a4",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 164
  },
  "hsl": {
    "h": 206.087,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.10271,
    "h": 244.8
  },
  "luminance": 0.15368
}

Semantic roles & 50–950 ramp

primary
#3172A4
secondary
#BF9372
accent
#8A4ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3172A4

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

Preview Lab → · Contrast checker → · Palette generator →

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