#3173CE#3173CE

#3173CE is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.1% C 0.156 H 257.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3173CE
RGBrgb(49, 115, 206)
HSLhsl(215, 62%, 50%)
HSVhsv(215, 76%, 81%)
CMYKcmyk(76.2%, 44.2%, 0%, 19.2%)
CIE-LABlab(48.72, 10.97, -53.07)
CIE-LCHlch(48.72, 54.19, 281.68°)
OKLaboklab(56.11% -0.0342 -0.152)
OKLCHoklch(56.11% 0.156 257.3)
XYZxyz(18.5338, 17.3685, 60.7562)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173CE #CE8C31
analogous
#31C2CE #3173CE #3D31CE
triadic
#3173CE #CE3173 #73CE31
tetradic
#3173CE #CE31C2 #CE8C31 #31CE3D
square
#3173CE #CE31C2 #CE8C31 #31CE3D
split-complementary
#3173CE #CE3D31 #C2CE31
monochromatic
#193C6B #25579D #3173CE #6295DA #94B6E6

Accessibility & contrast

On white

4.69
#3173CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3173CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173CE#FFFFFF#000000##FFFFFF
##3173CE1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3173ce;
/* rgb */ color: rgb(49, 115, 206);
/* oklch */ color: oklch(56.1% 0.156 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f9add',
    500: '#3173ce',
    950: '#000000',
  },
}
SCSS
$custom: #3173ce;
$custom-light: #7f9add;
$custom-dark: #000000;
JSON
{
  "hex": "#3173ce",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 214.777,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.15584,
    "h": 257.3
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#3173CE
secondary
#D1B38A
accent
#A143E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3173CE

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

Preview Lab → · Contrast checker → · Palette generator →

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