#3172AE#3172AE

#3172AE is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.115 H 249.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3172AE
RGBrgb(49, 114, 174)
HSLhsl(209, 56%, 44%)
HSVhsv(209, 72%, 68%)
CMYKcmyk(71.8%, 34.5%, 0%, 31.8%)
CIE-LABlab(46.63, -0.25, -37.93)
CIE-LCHlch(46.63, 37.93, 269.63°)
OKLaboklab(53.9% -0.0407 -0.1077)
OKLCHoklch(53.9% 0.115 249.3)
XYZxyz(14.9210, 15.7419, 42.2883)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172AE #AE6D31
analogous
#31AEAB #3172AE #3133AE
triadic
#3172AE #AE3172 #72AE31
tetradic
#3172AE #AB31AE #AE6D31 #33AE31
square
#3172AE #AB31AE #AE6D31 #33AE31
split-complementary
#3172AE #AE3133 #AEAB31
monochromatic
#16334E #24537E #3172AE #4F91CD #7FAFDB

Accessibility & contrast

On white

5.06
#3172AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3172AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172AE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172AE#FFFFFF#000000##FFFFFF
##3172AE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775B1
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3172ae;
/* rgb */ color: rgb(49, 114, 174);
/* oklch */ color: oklch(53.9% 0.115 249.3);
Tailwind
colors: {
  custom: {
    50: '#799ac6',
    500: '#3172ae',
    950: '#000000',
  },
}
SCSS
$custom: #3172ae;
$custom-light: #799ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3172ae",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 174
  },
  "hsl": {
    "h": 208.8,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.11513,
    "h": 249.3
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#3172AE
secondary
#C49C77
accent
#9148DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3172AE

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

Preview Lab → · Contrast checker → · Palette generator →

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