#3178A2#3178A2

#3178A2 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.096 H 238.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3178A2
RGBrgb(49, 120, 162)
HSLhsl(202, 54%, 41%)
HSVhsv(202, 70%, 64%)
CMYKcmyk(69.8%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.87, -8.13, -28.98)
CIE-LCHlch(47.87, 30.10, 254.33°)
OKLaboklab(54.68% -0.0506 -0.0816)
OKLCHoklch(54.68% 0.096 238.2)
XYZxyz(14.5021, 16.6930, 36.6332)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178A2 #A25B31
analogous
#31A294 #3178A2 #3140A2
triadic
#3178A2 #A23178 #78A231
tetradic
#3178A2 #9431A2 #A25B31 #40A231
square
#3178A2 #9431A2 #A25B31 #40A231
split-complementary
#3178A2 #A23140 #A29431
monochromatic
#153244 #235573 #3178A2 #4898C8 #77B3D6

Accessibility & contrast

On white

4.84
#3178A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3178A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178A2#FFFFFF#000000##FFFFFF
##3178A21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3178a2;
/* rgb */ color: rgb(49, 120, 162);
/* oklch */ color: oklch(54.7% 0.096 238.2);
Tailwind
colors: {
  custom: {
    50: '#779ebd',
    500: '#3178a2',
    950: '#000000',
  },
}
SCSS
$custom: #3178a2;
$custom-light: #779ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3178a2",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 202.301,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54682,
    "c": 0.09603,
    "h": 238.2
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#3178A2
secondary
#BE8D71
accent
#814BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3178A2

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

Preview Lab → · Contrast checker → · Palette generator →

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