#3178A5#3178A5

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

Color values

HEX#3178A5
RGBrgb(49, 120, 165)
HSLhsl(203, 54%, 42%)
HSVhsv(203, 70%, 65%)
CMYKcmyk(70.3%, 27.3%, 0%, 35.3%)
CIE-LABlab(48.01, -7.07, -30.52)
CIE-LCHlch(48.01, 31.33, 256.95°)
OKLaboklab(54.84% -0.0496 -0.086)
OKLCHoklch(54.84% 0.099 240)
XYZxyz(14.7720, 16.8009, 38.0544)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178A5 #A55E31
analogous
#31A598 #3178A5 #313EA5
triadic
#3178A5 #A53178 #78A531
tetradic
#3178A5 #9831A5 #A55E31 #3EA531
square
#3178A5 #9831A5 #A55E31 #3EA531
split-complementary
#3178A5 #A5313E #A59831
monochromatic
#153347 #235676 #3178A5 #4A98C9 #79B3D7

Accessibility & contrast

On white

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

On black

4.36
#3178A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3178A5#FFFFFF#000000##FFFFFF
##3178A51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#536DA4
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3178a5;
/* rgb */ color: rgb(49, 120, 165);
/* oklch */ color: oklch(54.8% 0.099 240.0);
Tailwind
colors: {
  custom: {
    50: '#779ec0',
    500: '#3178a5',
    950: '#000000',
  },
}
SCSS
$custom: #3178a5;
$custom-light: #779ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#3178a5",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 165
  },
  "hsl": {
    "h": 203.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.09932,
    "h": 240
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#3178A5
secondary
#C09072
accent
#834ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3178A5

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

Preview Lab → · Contrast checker → · Palette generator →

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