#3173C9#3173C9

#3173C9 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.8% C 0.149 H 256.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3173C9
RGBrgb(49, 115, 201)
HSLhsl(214, 61%, 49%)
HSVhsv(214, 76%, 79%)
CMYKcmyk(75.6%, 42.8%, 0%, 21.2%)
CIE-LABlab(48.42, 9.11, -50.69)
CIE-LCHlch(48.42, 51.50, 280.19°)
OKLaboklab(55.78% -0.0351 -0.1451)
OKLCHoklch(55.78% 0.149 256.4)
XYZxyz(17.9361, 17.1294, 57.6080)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C9 #C98731
analogous
#31BFC9 #3173C9 #3B31C9
triadic
#3173C9 #C93173 #73C931
tetradic
#3173C9 #C931BF #C98731 #31C93B
square
#3173C9 #C931BF #C98731 #31C93B
split-complementary
#3173C9 #C93B31 #BFC931
monochromatic
#193B67 #255798 #3173C9 #5F94D8 #90B5E4

Accessibility & contrast

On white

4.74
#3173C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3173C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C9#FFFFFF#000000##FFFFFF
##3173C91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#2C6DC7
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3173c9;
/* rgb */ color: rgb(49, 115, 201);
/* oklch */ color: oklch(55.8% 0.149 256.4);
Tailwind
colors: {
  custom: {
    50: '#7e9ada',
    500: '#3173c9',
    950: '#000000',
  },
}
SCSS
$custom: #3173c9;
$custom-light: #7e9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c9",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 201
  },
  "hsl": {
    "h": 213.947,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.14926,
    "h": 256.4
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#3173C9
secondary
#CFB087
accent
#9E44E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3173C9

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

Preview Lab → · Contrast checker → · Palette generator →

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