#3178A1#3178A1

#3178A1 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.095 H 237.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3178A1
RGBrgb(49, 120, 161)
HSLhsl(202, 53%, 41%)
HSVhsv(202, 70%, 63%)
CMYKcmyk(69.6%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.83, -8.48, -28.47)
CIE-LCHlch(47.83, 29.70, 253.42°)
OKLaboklab(54.63% -0.051 -0.0801)
OKLCHoklch(54.63% 0.095 237.5)
XYZxyz(14.4136, 16.6576, 36.1669)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178A1 #A15A31
analogous
#31A192 #3178A1 #3140A1
triadic
#3178A1 #A13178 #78A131
tetradic
#3178A1 #9231A1 #A15A31 #40A131
square
#3178A1 #9231A1 #A15A31 #40A131
split-complementary
#3178A1 #A13140 #A19231
monochromatic
#143243 #235572 #3178A1 #4899C7 #77B3D6

Accessibility & contrast

On white

4.85
#3178A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3178A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178A1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178A1#FFFFFF#000000##FFFFFF
##3178A11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A3
Deuteranopia (green-blind)
#556DA0
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3178a1;
/* rgb */ color: rgb(49, 120, 161);
/* oklch */ color: oklch(54.6% 0.095 237.5);
Tailwind
colors: {
  custom: {
    50: '#779ebd',
    500: '#3178a1',
    950: '#000000',
  },
}
SCSS
$custom: #3178a1;
$custom-light: #779ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3178a1",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 201.964,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.09495,
    "h": 237.5
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#3178A1
secondary
#BE8C70
accent
#804BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3178A1

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

Preview Lab → · Contrast checker → · Palette generator →

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