#3173B6#3173B6

#3173B6 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.124 H 251.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3173B6
RGBrgb(49, 115, 182)
HSLhsl(210, 58%, 45%)
HSVhsv(210, 73%, 71%)
CMYKcmyk(73.1%, 36.8%, 0%, 28.6%)
CIE-LABlab(47.35, 2.07, -41.44)
CIE-LCHlch(47.35, 41.50, 272.86°)
OKLaboklab(54.6% -0.0395 -0.1179)
OKLCHoklch(54.6% 0.124 251.5)
XYZxyz(15.8377, 16.2901, 46.5565)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B6 #B67431
analogous
#31B5B6 #3173B6 #3231B6
triadic
#3173B6 #B63173 #73B631
tetradic
#3173B6 #B631B5 #B67431 #31B632
square
#3173B6 #B631B5 #B67431 #31B632
split-complementary
#3173B6 #B63231 #B5B631
monochromatic
#173656 #245586 #3173B6 #5392D1 #84B0DE

Accessibility & contrast

On white

4.93
#3173B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3173B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B6#FFFFFF#000000##FFFFFF
##3173B61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5477B9
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3173b6;
/* rgb */ color: rgb(49, 115, 182);
/* oklch */ color: oklch(54.6% 0.124 251.5);
Tailwind
colors: {
  custom: {
    50: '#7a9acc',
    500: '#3173b6',
    950: '#000000',
  },
}
SCSS
$custom: #3173b6;
$custom-light: #7a9acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b6",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 182
  },
  "hsl": {
    "h": 210.226,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.12439,
    "h": 251.5
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#3173B6
secondary
#C7A27C
accent
#9447E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173B6

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

Preview Lab → · Contrast checker → · Palette generator →

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