#3172C0#3172C0

#3172C0 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.139 H 254.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3172C0
RGBrgb(49, 114, 192)
HSLhsl(213, 59%, 47%)
HSVhsv(213, 74%, 75%)
CMYKcmyk(74.5%, 40.6%, 0%, 24.7%)
CIE-LABlab(47.61, 6.38, -46.81)
CIE-LCHlch(47.61, 47.24, 277.76°)
OKLaboklab(54.98% -0.0362 -0.1337)
OKLCHoklch(54.98% 0.139 254.9)
XYZxyz(16.7948, 16.4915, 52.1570)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172C0 #C07F31
analogous
#31BAC0 #3172C0 #3731C0
triadic
#3172C0 #C03172 #72C031
tetradic
#3172C0 #C031BA #C07F31 #31C037
square
#3172C0 #C031BA #C07F31 #31C037
split-complementary
#3172C0 #C03731 #BAC031
monochromatic
#18385E #25558F #3172C0 #5991D5 #8AB2E1

Accessibility & contrast

On white

4.89
#3172C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3172C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172C0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172C0#FFFFFF#000000##FFFFFF
##3172C01.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3172c0;
/* rgb */ color: rgb(49, 114, 192);
/* oklch */ color: oklch(55.0% 0.139 254.9);
Tailwind
colors: {
  custom: {
    50: '#7c9ad3',
    500: '#3172c0',
    950: '#000000',
  },
}
SCSS
$custom: #3172c0;
$custom-light: #7c9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3172c0",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 192
  },
  "hsl": {
    "h": 212.727,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.1385,
    "h": 254.9
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#3172C0
secondary
#CBAA82
accent
#9B45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3172C0

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

Preview Lab → · Contrast checker → · Palette generator →

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