#3173C8#3173C8

#3173C8 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.7% C 0.148 H 256.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3173C8
RGBrgb(49, 115, 200)
HSLhsl(214, 61%, 49%)
HSVhsv(214, 76%, 78%)
CMYKcmyk(75.5%, 42.5%, 0%, 21.6%)
CIE-LABlab(48.36, 8.73, -50.21)
CIE-LCHlch(48.36, 50.96, 279.87°)
OKLaboklab(55.71% -0.0353 -0.1436)
OKLCHoklch(55.71% 0.148 256.2)
XYZxyz(17.8188, 17.0825, 56.9905)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C8 #C88631
analogous
#31BFC8 #3173C8 #3B31C8
triadic
#3173C8 #C83173 #73C831
tetradic
#3173C8 #C831BF #C88631 #31C83B
square
#3173C8 #C831BF #C88631 #31C83B
split-complementary
#3173C8 #C83B31 #BFC831
monochromatic
#193A66 #255797 #3173C8 #5F93D8 #90B4E4

Accessibility & contrast

On white

4.75
#3173C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3173C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C8#FFFFFF#000000##FFFFFF
##3173C81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3173c8;
/* rgb */ color: rgb(49, 115, 200);
/* oklch */ color: oklch(55.7% 0.148 256.2);
Tailwind
colors: {
  custom: {
    50: '#7e9ad9',
    500: '#3173c8',
    950: '#000000',
  },
}
SCSS
$custom: #3173c8;
$custom-light: #7e9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c8",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 213.775,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.14793,
    "h": 256.2
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#3173C8
secondary
#CEAF86
accent
#9E44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3173C8

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

Preview Lab → · Contrast checker → · Palette generator →

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