#3173A4#3173A4

#3173A4 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.6% C 0.102 H 243.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3173A4
RGBrgb(49, 115, 164)
HSLhsl(206, 54%, 42%)
HSVhsv(206, 70%, 64%)
CMYKcmyk(70.1%, 29.9%, 0%, 35.7%)
CIE-LABlab(46.44, -4.46, -32.39)
CIE-LCHlch(46.44, 32.70, 262.15°)
OKLaboklab(53.58% -0.0448 -0.0915)
OKLCHoklch(53.58% 0.102 243.9)
XYZxyz(14.0956, 15.5932, 37.3817)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173A4 #A46231
analogous
#31A49C #3173A4 #313AA4
triadic
#3173A4 #A43173 #73A431
tetradic
#3173A4 #9C31A4 #A46231 #3AA431
square
#3173A4 #9C31A4 #A46231 #3AA431
split-complementary
#3173A4 #A4313A #A49C31
monochromatic
#153146 #235275 #3173A4 #4993C9 #79AFD7

Accessibility & contrast

On white

5.10
#3173A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3173A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173A4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173A4#FFFFFF#000000##FFFFFF
##3173A41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A6
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3173a4;
/* rgb */ color: rgb(49, 115, 164);
/* oklch */ color: oklch(53.6% 0.102 243.9);
Tailwind
colors: {
  custom: {
    50: '#779bbf',
    500: '#3173a4',
    950: '#000000',
  },
}
SCSS
$custom: #3173a4;
$custom-light: #779bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3173a4",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 164
  },
  "hsl": {
    "h": 205.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.10189,
    "h": 243.9
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#3173A4
secondary
#BF9372
accent
#894ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3173A4

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

Preview Lab → · Contrast checker → · Palette generator →

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