#3172AD#3172AD

#3172AD is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.8% C 0.114 H 248.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3172AD
RGBrgb(49, 114, 173)
HSLhsl(209, 56%, 44%)
HSVhsv(209, 72%, 68%)
CMYKcmyk(71.7%, 34.1%, 0%, 32.2%)
CIE-LABlab(46.58, -0.61, -37.43)
CIE-LCHlch(46.58, 37.43, 269.06°)
OKLaboklab(53.84% -0.041 -0.1062)
OKLCHoklch(53.84% 0.114 248.9)
XYZxyz(14.8239, 15.7031, 41.7768)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172AD #AD6C31
analogous
#31ADAA #3172AD #3134AD
triadic
#3172AD #AD3172 #72AD31
tetradic
#3172AD #AA31AD #AD6C31 #34AD31
square
#3172AD #AA31AD #AD6C31 #34AD31
split-complementary
#3172AD #AD3134 #ADAA31
monochromatic
#16334E #23537D #3172AD #4E91CD #7EAEDA

Accessibility & contrast

On white

5.07
#3172AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3172AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172AD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172AD#FFFFFF#000000##FFFFFF
##3172AD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775AF
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3172ad;
/* rgb */ color: rgb(49, 114, 173);
/* oklch */ color: oklch(53.8% 0.114 248.9);
Tailwind
colors: {
  custom: {
    50: '#789ac6',
    500: '#3172ad',
    950: '#000000',
  },
}
SCSS
$custom: #3172ad;
$custom-light: #789ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3172ad",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 173
  },
  "hsl": {
    "h": 208.548,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53839,
    "c": 0.11386,
    "h": 248.9
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#3172AD
secondary
#C39B77
accent
#9049DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3172AD

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

Preview Lab → · Contrast checker → · Palette generator →

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