#3172C9#3172C9

#3172C9 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.6% C 0.150 H 256.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3172C9
RGBrgb(49, 114, 201)
HSLhsl(214, 61%, 49%)
HSVhsv(214, 76%, 79%)
CMYKcmyk(75.6%, 43.3%, 0%, 21.2%)
CIE-LABlab(48.14, 9.73, -51.14)
CIE-LCHlch(48.14, 52.06, 280.78°)
OKLaboklab(55.56% -0.0343 -0.1464)
OKLCHoklch(55.56% 0.15 256.8)
XYZxyz(17.8227, 16.9026, 57.5702)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172C9 #C98831
analogous
#31BEC9 #3172C9 #3C31C9
triadic
#3172C9 #C93172 #72C931
tetradic
#3172C9 #C931BE #C98831 #31C93C
square
#3172C9 #C931BE #C98831 #31C93C
split-complementary
#3172C9 #C93C31 #BEC931
monochromatic
#193A67 #255698 #3172C9 #5F93D8 #90B4E4

Accessibility & contrast

On white

4.79
#3172C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3172C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3172C9#FFFFFF#000000##FFFFFF
##3172C91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACC
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3172c9;
/* rgb */ color: rgb(49, 114, 201);
/* oklch */ color: oklch(55.6% 0.150 256.8);
Tailwind
colors: {
  custom: {
    50: '#7e9ada',
    500: '#3172c9',
    950: '#000000',
  },
}
SCSS
$custom: #3172c9;
$custom-light: #7e9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3172c9",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 201
  },
  "hsl": {
    "h": 214.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.15038,
    "h": 256.8
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#3172C9
secondary
#CFB087
accent
#9F44E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #3172C9

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

Preview Lab → · Contrast checker → · Palette generator →

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