#3178A4#3178A4

#3178A4 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.098 H 239.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3178A4
RGBrgb(49, 120, 164)
HSLhsl(203, 54%, 42%)
HSVhsv(203, 70%, 64%)
CMYKcmyk(70.1%, 26.8%, 0%, 35.7%)
CIE-LABlab(47.96, -7.42, -30.01)
CIE-LCHlch(47.96, 30.91, 256.10°)
OKLaboklab(54.79% -0.05 -0.0846)
OKLCHoklch(54.79% 0.098 239.4)
XYZxyz(14.6813, 16.7646, 37.5769)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178A4 #A45D31
analogous
#31A497 #3178A4 #313EA4
triadic
#3178A4 #A43178 #78A431
tetradic
#3178A4 #9731A4 #A45D31 #3EA431
square
#3178A4 #9731A4 #A45D31 #3EA431
split-complementary
#3178A4 #A4313E #A49731
monochromatic
#153346 #235675 #3178A4 #4998C9 #79B3D7

Accessibility & contrast

On white

4.82
#3178A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3178A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178A4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178A4#FFFFFF#000000##FFFFFF
##3178A41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3178a4;
/* rgb */ color: rgb(49, 120, 164);
/* oklch */ color: oklch(54.8% 0.098 239.4);
Tailwind
colors: {
  custom: {
    50: '#779ebf',
    500: '#3178a4',
    950: '#000000',
  },
}
SCSS
$custom: #3178a4;
$custom-light: #779ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#3178a4",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 202.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.09822,
    "h": 239.4
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3178A4

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

Preview Lab → · Contrast checker → · Palette generator →

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