#3173BF#3173BF

#3173BF is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.1% C 0.136 H 254.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3173BF
RGBrgb(49, 115, 191)
HSLhsl(212, 59%, 47%)
HSVhsv(212, 74%, 75%)
CMYKcmyk(74.3%, 39.8%, 0%, 25.1%)
CIE-LABlab(47.85, 5.39, -45.86)
CIE-LCHlch(47.85, 46.18, 276.70°)
OKLaboklab(55.15% -0.0373 -0.1309)
OKLCHoklch(55.15% 0.136 254.1)
XYZxyz(16.7978, 16.6741, 51.6132)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173BF #BF7D31
analogous
#31BABF #3173BF #3631BF
triadic
#3173BF #BF3173 #73BF31
tetradic
#3173BF #BF31BA #BF7D31 #31BF36
square
#3173BF #BF31BA #BF7D31 #31BF36
split-complementary
#3173BF #BF3631 #BABF31
monochromatic
#18385E #25568E #3173BF #5992D4 #8AB2E1

Accessibility & contrast

On white

4.84
#3173BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3173BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173BF#FFFFFF#000000##FFFFFF
##3173BF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#386CBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3173bf;
/* rgb */ color: rgb(49, 115, 191);
/* oklch */ color: oklch(55.1% 0.136 254.1);
Tailwind
colors: {
  custom: {
    50: '#7c9ad3',
    500: '#3173bf',
    950: '#000000',
  },
}
SCSS
$custom: #3173bf;
$custom-light: #7c9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3173bf",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 212.113,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.13611,
    "h": 254.1
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#3173BF
secondary
#CBA881
accent
#9945E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3173BF

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

Preview Lab → · Contrast checker → · Palette generator →

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