#3172B0#3172B0

#3172B0 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.118 H 250.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3172B0
RGBrgb(49, 114, 176)
HSLhsl(209, 56%, 44%)
HSVhsv(209, 72%, 69%)
CMYKcmyk(72.2%, 35.2%, 0%, 31%)
CIE-LABlab(46.74, 0.48, -38.93)
CIE-LCHlch(46.74, 38.93, 270.71°)
OKLaboklab(54.01% -0.0402 -0.1106)
OKLCHoklch(54.01% 0.118 250)
XYZxyz(15.1175, 15.8205, 43.3228)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172B0 #B06F31
analogous
#31B0AF #3172B0 #3133B0
triadic
#3172B0 #B03172 #72B031
tetradic
#3172B0 #AF31B0 #B06F31 #33B031
square
#3172B0 #AF31B0 #B06F31 #33B031
split-complementary
#3172B0 #B03133 #B0AF31
monochromatic
#163450 #245380 #3172B0 #5091CE #80AFDC

Accessibility & contrast

On white

5.04
#3172B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3172B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3172B0#FFFFFF#000000##FFFFFF
##3172B01.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5675B3
Deuteranopia (green-blind)
#4469AF
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3172b0;
/* rgb */ color: rgb(49, 114, 176);
/* oklch */ color: oklch(54.0% 0.118 250.0);
Tailwind
colors: {
  custom: {
    50: '#799ac8',
    500: '#3172b0',
    950: '#000000',
  },
}
SCSS
$custom: #3172b0;
$custom-light: #799ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3172b0",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 176
  },
  "hsl": {
    "h": 209.291,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.11768,
    "h": 250
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#3172B0
secondary
#C59D78
accent
#9248E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3172B0

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

Preview Lab → · Contrast checker → · Palette generator →

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