#3173B2#3173B2

#3173B2 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.119 H 250.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3173B2
RGBrgb(49, 115, 178)
HSLhsl(209, 57%, 45%)
HSVhsv(209, 72%, 70%)
CMYKcmyk(72.5%, 35.4%, 0%, 30.2%)
CIE-LABlab(47.14, 0.60, -39.46)
CIE-LCHlch(47.14, 39.46, 270.87°)
OKLaboklab(54.36% -0.0406 -0.1121)
OKLCHoklch(54.36% 0.119 250.1)
XYZxyz(15.4302, 16.1271, 44.4105)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B2 #B27031
analogous
#31B2B0 #3173B2 #3133B2
triadic
#3173B2 #B23173 #73B231
tetradic
#3173B2 #B031B2 #B27031 #33B231
square
#3173B2 #B031B2 #B27031 #33B231
split-complementary
#3173B2 #B23133 #B2B031
monochromatic
#173552 #245482 #3173B2 #5192CF #81B0DC

Accessibility & contrast

On white

4.97
#3173B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3173B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B2#FFFFFF#000000##FFFFFF
##3173B21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#446AB1
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3173b2;
/* rgb */ color: rgb(49, 115, 178);
/* oklch */ color: oklch(54.4% 0.119 250.1);
Tailwind
colors: {
  custom: {
    50: '#799ac9',
    500: '#3173b2',
    950: '#000000',
  },
}
SCSS
$custom: #3173b2;
$custom-light: #799ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b2",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 209.302,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.11926,
    "h": 250.1
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#3173B2
secondary
#C59F79
accent
#9248E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173B2

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

Preview Lab → · Contrast checker → · Palette generator →

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