#3173BD#3173BD

#3173BD is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.133 H 253.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3173BD
RGBrgb(49, 115, 189)
HSLhsl(212, 59%, 47%)
HSVhsv(212, 74%, 74%)
CMYKcmyk(74.1%, 39.2%, 0%, 25.9%)
CIE-LABlab(47.73, 4.65, -44.89)
CIE-LCHlch(47.73, 45.13, 275.91°)
OKLaboklab(55.02% -0.0378 -0.128)
OKLCHoklch(55.02% 0.133 253.6)
XYZxyz(16.5792, 16.5867, 50.4620)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173BD #BD7B31
analogous
#31B9BD #3173BD #3531BD
triadic
#3173BD #BD3173 #73BD31
tetradic
#3173BD #BD31B9 #BD7B31 #31BD35
square
#3173BD #BD31B9 #BD7B31 #31BD35
split-complementary
#3173BD #BD3531 #B9BD31
monochromatic
#18385C #24558C #3173BD #5892D4 #88B2E0

Accessibility & contrast

On white

4.86
#3173BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3173BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173BD#FFFFFF#000000##FFFFFF
##3173BD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3173bd;
/* rgb */ color: rgb(49, 115, 189);
/* oklch */ color: oklch(55.0% 0.133 253.6);
Tailwind
colors: {
  custom: {
    50: '#7b9ad1',
    500: '#3173bd',
    950: '#000000',
  },
}
SCSS
$custom: #3173bd;
$custom-light: #7b9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3173bd",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 211.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.13348,
    "h": 253.6
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#3173BD
secondary
#CAA780
accent
#9846E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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