#3173A1#3173A1

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

Color values

HEX#3173A1
RGBrgb(49, 115, 161)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 70%, 63%)
CMYKcmyk(69.6%, 28.6%, 0%, 36.9%)
CIE-LABlab(46.29, -5.53, -30.86)
CIE-LCHlch(46.29, 31.35, 259.84°)
OKLaboklab(53.42% -0.0457 -0.0871)
OKLCHoklch(53.42% 0.098 242.3)
XYZxyz(13.8279, 15.4862, 35.9717)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173A1 #A15F31
analogous
#31A197 #3173A1 #313BA1
triadic
#3173A1 #A13173 #73A131
tetradic
#3173A1 #9731A1 #A15F31 #3BA131
square
#3173A1 #9731A1 #A15F31 #3BA131
split-complementary
#3173A1 #A1313B #A19731
monochromatic
#143043 #235172 #3173A1 #4893C7 #77AFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3173A1#FFFFFF#000000##FFFFFF
##3173A11.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)
#5E74A3
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3173a1;
/* rgb */ color: rgb(49, 115, 161);
/* oklch */ color: oklch(53.4% 0.098 242.3);
Tailwind
colors: {
  custom: {
    50: '#769bbd',
    500: '#3173a1',
    950: '#000000',
  },
}
SCSS
$custom: #3173a1;
$custom-light: #769bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3173a1",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 161
  },
  "hsl": {
    "h": 204.643,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.09836,
    "h": 242.3
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#3173A1
secondary
#BE9070
accent
#874BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3173A1

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

Preview Lab → · Contrast checker → · Palette generator →

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