#3173BB#3173BB

#3173BB is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.9% C 0.131 H 253.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3173BB
RGBrgb(49, 115, 187)
HSLhsl(211, 58%, 46%)
HSVhsv(211, 74%, 73%)
CMYKcmyk(73.8%, 38.5%, 0%, 26.7%)
CIE-LABlab(47.62, 3.91, -43.91)
CIE-LCHlch(47.62, 44.08, 275.09°)
OKLaboklab(54.9% -0.0383 -0.1251)
OKLCHoklch(54.9% 0.131 253)
XYZxyz(16.3637, 16.5005, 49.3266)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173BB #BB7931
analogous
#31B8BB #3173BB #3431BB
triadic
#3173BB #BB3173 #73BB31
tetradic
#3173BB #BB31B8 #BB7931 #31BB34
square
#3173BB #BB31B8 #BB7931 #31BB34
split-complementary
#3173BB #BB3431 #B8BB31
monochromatic
#18375A #24558B #3173BB #5692D3 #87B1E0

Accessibility & contrast

On white

4.88
#3173BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3173BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173BB#FFFFFF#000000##FFFFFF
##3173BB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3173bb;
/* rgb */ color: rgb(49, 115, 187);
/* oklch */ color: oklch(54.9% 0.131 253.0);
Tailwind
colors: {
  custom: {
    50: '#7b9ad0',
    500: '#3173bb',
    950: '#000000',
  },
}
SCSS
$custom: #3173bb;
$custom-light: #7b9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3173bb",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 211.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.13087,
    "h": 253
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#3173BB
secondary
#C9A67F
accent
#9746E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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