#3172C3#3172C3

#3172C3 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.2% C 0.142 H 255.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3172C3
RGBrgb(49, 114, 195)
HSLhsl(213, 60%, 48%)
HSVhsv(213, 75%, 76%)
CMYKcmyk(74.9%, 41.5%, 0%, 23.5%)
CIE-LABlab(47.78, 7.50, -48.26)
CIE-LCHlch(47.78, 48.84, 278.83°)
OKLaboklab(55.17% -0.0355 -0.1379)
OKLCHoklch(55.17% 0.142 255.6)
XYZxyz(17.1306, 16.6258, 53.9254)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172C3 #C38231
analogous
#31BBC3 #3172C3 #3931C3
triadic
#3172C3 #C33172 #72C331
tetradic
#3172C3 #C331BB #C38231 #31C339
square
#3172C3 #C331BB #C38231 #31C339
split-complementary
#3172C3 #C33931 #BBC331
monochromatic
#183961 #255592 #3172C3 #5B92D6 #8CB2E2

Accessibility & contrast

On white

4.85
#3172C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3172C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172C3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172C3#FFFFFF#000000##FFFFFF
##3172C31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3172c3;
/* rgb */ color: rgb(49, 114, 195);
/* oklch */ color: oklch(55.2% 0.142 255.6);
Tailwind
colors: {
  custom: {
    50: '#7d9ad5',
    500: '#3172c3',
    950: '#000000',
  },
}
SCSS
$custom: #3172c3;
$custom-light: #7d9ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3172c3",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 195
  },
  "hsl": {
    "h": 213.288,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.14245,
    "h": 255.6
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#3172C3
secondary
#CCAC83
accent
#9D45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3172C3

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

Preview Lab → · Contrast checker → · Palette generator →

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