#3172B9#3172B9

#3172B9 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.5% C 0.129 H 253.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3172B9
RGBrgb(49, 114, 185)
HSLhsl(211, 58%, 46%)
HSVhsv(211, 74%, 73%)
CMYKcmyk(73.5%, 38.4%, 0%, 27.5%)
CIE-LABlab(47.22, 3.79, -43.39)
CIE-LCHlch(47.22, 43.56, 274.99°)
OKLaboklab(54.55% -0.0378 -0.1237)
OKLCHoklch(54.55% 0.129 253)
XYZxyz(16.0376, 16.1886, 48.1690)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172B9 #B97831
analogous
#31B6B9 #3172B9 #3431B9
triadic
#3172B9 #B93172 #72B931
tetradic
#3172B9 #B931B6 #B97831 #31B934
square
#3172B9 #B931B6 #B97831 #31B934
split-complementary
#3172B9 #B93431 #B6B931
monochromatic
#173658 #245489 #3172B9 #5591D2 #86B0DF

Accessibility & contrast

On white

4.96
#3172B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3172B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3172B9#FFFFFF#000000##FFFFFF
##3172B91.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BC
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3172b9;
/* rgb */ color: rgb(49, 114, 185);
/* oklch */ color: oklch(54.5% 0.129 253.0);
Tailwind
colors: {
  custom: {
    50: '#7b9ace',
    500: '#3172b9',
    950: '#000000',
  },
}
SCSS
$custom: #3172b9;
$custom-light: #7b9ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3172b9",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 185
  },
  "hsl": {
    "h": 211.324,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.12932,
    "h": 253
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#3172B9
secondary
#C8A57D
accent
#9746E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3172B9

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

Preview Lab → · Contrast checker → · Palette generator →

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