#3178AC#3178AC

#3178AC is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.107 H 243.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3178AC
RGBrgb(49, 120, 172)
HSLhsl(205, 56%, 43%)
HSVhsv(205, 72%, 67%)
CMYKcmyk(71.5%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.34, -4.58, -34.08)
CIE-LCHlch(48.34, 34.39, 262.34°)
OKLaboklab(55.21% -0.0473 -0.0964)
OKLCHoklch(55.21% 0.107 243.8)
XYZxyz(15.4266, 17.0628, 41.5021)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178AC #AC6531
analogous
#31ACA2 #3178AC #313AAC
triadic
#3178AC #AC3178 #78AC31
tetradic
#3178AC #A231AC #AC6531 #3AAC31
square
#3178AC #A231AC #AC6531 #3AAC31
split-complementary
#3178AC #AC313A #ACA231
monochromatic
#16364D #23577C #3178AC #4E97CC #7DB3DA

Accessibility & contrast

On white

4.76
#3178AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3178AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178AC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178AC#FFFFFF#000000##FFFFFF
##3178AC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#4F6EAB
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3178ac;
/* rgb */ color: rgb(49, 120, 172);
/* oklch */ color: oklch(55.2% 0.107 243.8);
Tailwind
colors: {
  custom: {
    50: '#789ec5',
    500: '#3178ac',
    950: '#000000',
  },
}
SCSS
$custom: #3178ac;
$custom-light: #789ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3178ac",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 205.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.10737,
    "h": 243.8
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#3178AC
secondary
#C39676
accent
#8849DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178AC

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

Preview Lab → · Contrast checker → · Palette generator →

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