#3173B3#3173B3

#3173B3 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.121 H 250.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3173B3
RGBrgb(49, 115, 179)
HSLhsl(210, 57%, 45%)
HSVhsv(210, 73%, 70%)
CMYKcmyk(72.6%, 35.8%, 0%, 29.8%)
CIE-LABlab(47.19, 0.97, -39.96)
CIE-LCHlch(47.19, 39.97, 271.39°)
OKLaboklab(54.42% -0.0403 -0.1136)
OKLCHoklch(54.42% 0.121 250.4)
XYZxyz(15.5310, 16.1674, 44.9412)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B3 #B37131
analogous
#31B3B2 #3173B3 #3132B3
triadic
#3173B3 #B33173 #73B331
tetradic
#3173B3 #B231B3 #B37131 #32B331
square
#3173B3 #B231B3 #B37131 #32B331
split-complementary
#3173B3 #B33132 #B3B231
monochromatic
#173553 #245483 #3173B3 #5292D0 #82B0DD

Accessibility & contrast

On white

4.96
#3173B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3173B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B3#FFFFFF#000000##FFFFFF
##3173B31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5677B6
Deuteranopia (green-blind)
#436AB2
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3173b3;
/* rgb */ color: rgb(49, 115, 179);
/* oklch */ color: oklch(54.4% 0.121 250.4);
Tailwind
colors: {
  custom: {
    50: '#7a9aca',
    500: '#3173b3',
    950: '#000000',
  },
}
SCSS
$custom: #3173b3;
$custom-light: #7a9aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b3",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 179
  },
  "hsl": {
    "h": 209.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.12053,
    "h": 250.4
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#3173B3
secondary
#C69F7A
accent
#9348E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173B3

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

Preview Lab → · Contrast checker → · Palette generator →

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