#3172AA#3172AA

#3172AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.110 H 247.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3172AA
RGBrgb(49, 114, 170)
HSLhsl(208, 55%, 43%)
HSVhsv(208, 71%, 67%)
CMYKcmyk(71.2%, 32.9%, 0%, 33.3%)
CIE-LABlab(46.43, -1.70, -35.92)
CIE-LCHlch(46.43, 35.96, 267.29°)
OKLaboklab(53.67% -0.0419 -0.1018)
OKLCHoklch(53.67% 0.11 247.6)
XYZxyz(14.5369, 15.5883, 40.2651)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172AA #AA6931
analogous
#31AAA5 #3172AA #3135AA
triadic
#3172AA #AA3172 #72AA31
tetradic
#3172AA #A531AA #AA6931 #35AA31
square
#3172AA #A531AA #AA6931 #35AA31
split-complementary
#3172AA #AA3135 #AAA531
monochromatic
#16324B #23527A #3172AA #4D91CC #7CAED9

Accessibility & contrast

On white

5.10
#3172AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3172AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3172AA#FFFFFF#000000##FFFFFF
##3172AA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AC
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3172aa;
/* rgb */ color: rgb(49, 114, 170);
/* oklch */ color: oklch(53.7% 0.110 247.6);
Tailwind
colors: {
  custom: {
    50: '#789ac3',
    500: '#3172aa',
    950: '#000000',
  },
}
SCSS
$custom: #3172aa;
$custom-light: #789ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3172aa",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 207.769,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.11009,
    "h": 247.6
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#3172AA
secondary
#C29975
accent
#8E49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3172AA

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

Preview Lab → · Contrast checker → · Palette generator →

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