#3172BB#3172BB

#3172BB is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.132 H 253.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3172BB
RGBrgb(49, 114, 187)
HSLhsl(212, 58%, 46%)
HSVhsv(212, 74%, 73%)
CMYKcmyk(73.8%, 39%, 0%, 26.7%)
CIE-LABlab(47.33, 4.53, -44.37)
CIE-LCHlch(47.33, 44.60, 275.83°)
OKLaboklab(54.67% -0.0373 -0.1265)
OKLCHoklch(54.67% 0.132 253.6)
XYZxyz(16.2502, 16.2736, 49.2888)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172BB #BB7A31
analogous
#31B7BB #3172BB #3531BB
triadic
#3172BB #BB3172 #72BB31
tetradic
#3172BB #BB31B7 #BB7A31 #31BB35
square
#3172BB #BB31B7 #BB7A31 #31BB35
split-complementary
#3172BB #BB3531 #B7BB31
monochromatic
#18375A #24548B #3172BB #5691D3 #87B1E0

Accessibility & contrast

On white

4.94
#3172BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3172BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3172BB#FFFFFF#000000##FFFFFF
##3172BB1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3172bb;
/* rgb */ color: rgb(49, 114, 187);
/* oklch */ color: oklch(54.7% 0.132 253.6);
Tailwind
colors: {
  custom: {
    50: '#7b9ad0',
    500: '#3172bb',
    950: '#000000',
  },
}
SCSS
$custom: #3172bb;
$custom-light: #7b9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3172bb",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 211.739,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.13194,
    "h": 253.6
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#3172BB
secondary
#C9A67F
accent
#9846E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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