#3172BC#3172BC

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

Color values

HEX#3172BC
RGBrgb(49, 114, 188)
HSLhsl(212, 59%, 46%)
HSVhsv(212, 74%, 74%)
CMYKcmyk(73.9%, 39.4%, 0%, 26.3%)
CIE-LABlab(47.39, 4.90, -44.86)
CIE-LCHlch(47.39, 45.13, 276.23°)
OKLaboklab(54.73% -0.0371 -0.128)
OKLCHoklch(54.73% 0.133 253.8)
XYZxyz(16.3577, 16.3166, 49.8545)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172BC #BC7B31
analogous
#31B8BC #3172BC #3531BC
triadic
#3172BC #BC3172 #72BC31
tetradic
#3172BC #BC31B8 #BC7B31 #31BC35
square
#3172BC #BC31B8 #BC7B31 #31BC35
split-complementary
#3172BC #BC3531 #B8BC31
monochromatic
#18375B #24558B #3172BC #5791D3 #88B1E0

Accessibility & contrast

On white

4.93
#3172BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3172BC#FFFFFF#000000##FFFFFF
##3172BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#396BBB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3172bc;
/* rgb */ color: rgb(49, 114, 188);
/* oklch */ color: oklch(54.7% 0.133 253.8);
Tailwind
colors: {
  custom: {
    50: '#7b9ad0',
    500: '#3172bc',
    950: '#000000',
  },
}
SCSS
$custom: #3172bc;
$custom-light: #7b9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3172bc",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 211.942,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.13324,
    "h": 253.8
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#3172BC
secondary
#CAA77F
accent
#9946E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3172BC

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

Preview Lab → · Contrast checker → · Palette generator →

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