#3173A2#3173A2

#3173A2 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.5% C 0.100 H 242.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3173A2
RGBrgb(49, 115, 162)
HSLhsl(205, 54%, 41%)
HSVhsv(205, 70%, 64%)
CMYKcmyk(69.8%, 29%, 0%, 36.5%)
CIE-LABlab(46.34, -5.18, -31.37)
CIE-LCHlch(46.34, 31.80, 260.63°)
OKLaboklab(53.47% -0.0454 -0.0886)
OKLCHoklch(53.47% 0.1 242.8)
XYZxyz(13.9164, 15.5216, 36.4380)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173A2 #A26031
analogous
#31A299 #3173A2 #313AA2
triadic
#3173A2 #A23173 #73A231
tetradic
#3173A2 #9931A2 #A26031 #3AA231
square
#3173A2 #9931A2 #A26031 #3AA231
split-complementary
#3173A2 #A2313A #A29931
monochromatic
#153044 #235273 #3173A2 #4893C8 #77AFD6

Accessibility & contrast

On white

5.12
#3173A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3173A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173A2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173A2#FFFFFF#000000##FFFFFF
##3173A21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#007F83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3173a2;
/* rgb */ color: rgb(49, 115, 162);
/* oklch */ color: oklch(53.5% 0.100 242.8);
Tailwind
colors: {
  custom: {
    50: '#779bbd',
    500: '#3173a2',
    950: '#000000',
  },
}
SCSS
$custom: #3173a2;
$custom-light: #779bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3173a2",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 162
  },
  "hsl": {
    "h": 204.956,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.09953,
    "h": 242.8
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#3173A2
secondary
#BE9171
accent
#884BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3173A2

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

Preview Lab → · Contrast checker → · Palette generator →

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