#3172A3#3172A3

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

Color values

HEX#3172A3
RGBrgb(49, 114, 163)
HSLhsl(206, 54%, 42%)
HSVhsv(206, 70%, 64%)
CMYKcmyk(69.9%, 30.1%, 0%, 36.1%)
CIE-LABlab(46.08, -4.22, -32.36)
CIE-LCHlch(46.08, 32.64, 262.57°)
OKLaboklab(53.28% -0.0441 -0.0914)
OKLCHoklch(53.28% 0.102 244.3)
XYZxyz(13.8923, 15.3304, 36.8702)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172A3 #A36231
analogous
#31A39B #3172A3 #3139A3
triadic
#3172A3 #A33172 #72A331
tetradic
#3172A3 #9B31A3 #A36231 #39A331
square
#3172A3 #9B31A3 #A36231 #39A331
split-complementary
#3172A3 #A33139 #A39B31
monochromatic
#153045 #235174 #3172A3 #4992C8 #78AED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3172A3#FFFFFF#000000##FFFFFF
##3172A31.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)
#5C73A5
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3172a3;
/* rgb */ color: rgb(49, 114, 163);
/* oklch */ color: oklch(53.3% 0.102 244.3);
Tailwind
colors: {
  custom: {
    50: '#779abe',
    500: '#3172a3',
    950: '#000000',
  },
}
SCSS
$custom: #3172a3;
$custom-light: #779abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3172a3",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 163
  },
  "hsl": {
    "h": 205.789,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53283,
    "c": 0.10151,
    "h": 244.3
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#3172A3
secondary
#BF9271
accent
#8A4BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3172A3

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

Preview Lab → · Contrast checker → · Palette generator →

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