#3179A4#3179A4

#3179A4 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.098 H 238.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3179A4
RGBrgb(49, 121, 164)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 64%)
CMYKcmyk(70.1%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.27, -8.01, -29.53)
CIE-LCHlch(48.27, 30.60, 254.83°)
OKLaboklab(55.03% -0.051 -0.0832)
OKLCHoklch(55.03% 0.098 238.5)
XYZxyz(14.8022, 17.0064, 37.6172)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3179A4 #A45C31
analogous
#31A496 #3179A4 #313FA4
triadic
#3179A4 #A43179 #79A431
tetradic
#3179A4 #9631A4 #A45C31 #3FA431
square
#3179A4 #9631A4 #A45C31 #3FA431
split-complementary
#3179A4 #A4313F #A49631
monochromatic
#153346 #235675 #3179A4 #4999C9 #79B4D7

Accessibility & contrast

On white

4.77
#3179A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3179A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3179A4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3179A4#FFFFFF#000000##FFFFFF
##3179A41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A6
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3179a4;
/* rgb */ color: rgb(49, 121, 164);
/* oklch */ color: oklch(55.0% 0.098 238.5);
Tailwind
colors: {
  custom: {
    50: '#779fbf',
    500: '#3179a4',
    950: '#000000',
  },
}
SCSS
$custom: #3179a4;
$custom-light: #779fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3179a4",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 202.435,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.09756,
    "h": 238.5
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#3179A4
secondary
#BF8F72
accent
#814ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3179A4

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

Preview Lab → · Contrast checker → · Palette generator →

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