#3173C3#3173C3

#3173C3 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.4% C 0.141 H 255.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3173C3
RGBrgb(49, 115, 195)
HSLhsl(213, 60%, 48%)
HSVhsv(213, 75%, 76%)
CMYKcmyk(74.9%, 41%, 0%, 23.5%)
CIE-LABlab(48.07, 6.87, -47.80)
CIE-LCHlch(48.07, 48.29, 278.18°)
OKLaboklab(55.4% -0.0364 -0.1366)
OKLCHoklch(55.4% 0.141 255.1)
XYZxyz(17.2440, 16.8526, 53.9632)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C3 #C38131
analogous
#31BCC3 #3173C3 #3831C3
triadic
#3173C3 #C33173 #73C331
tetradic
#3173C3 #C331BC #C38131 #31C338
square
#3173C3 #C331BC #C38131 #31C338
split-complementary
#3173C3 #C33831 #BCC331
monochromatic
#183961 #255692 #3173C3 #5B93D6 #8CB3E2

Accessibility & contrast

On white

4.80
#3173C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3173C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C3#FFFFFF#000000##FFFFFF
##3173C31.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C6
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3173c3;
/* rgb */ color: rgb(49, 115, 195);
/* oklch */ color: oklch(55.4% 0.141 255.1);
Tailwind
colors: {
  custom: {
    50: '#7d9ad5',
    500: '#3173c3',
    950: '#000000',
  },
}
SCSS
$custom: #3173c3;
$custom-light: #7d9ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c3",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 195
  },
  "hsl": {
    "h": 212.877,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.14135,
    "h": 255.1
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#3173C3
secondary
#CCAB83
accent
#9B45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3173C3

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

Preview Lab → · Contrast checker → · Palette generator →

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