#3178A3#3178A3

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

Color values

HEX#3178A3
RGBrgb(49, 120, 163)
HSLhsl(203, 54%, 42%)
HSVhsv(203, 70%, 64%)
CMYKcmyk(69.9%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.92, -7.78, -29.49)
CIE-LCHlch(47.92, 30.50, 255.23°)
OKLaboklab(54.73% -0.0503 -0.0831)
OKLCHoklch(54.73% 0.097 238.8)
XYZxyz(14.5914, 16.7287, 37.1032)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178A3 #A35C31
analogous
#31A395 #3178A3 #313FA3
triadic
#3178A3 #A33178 #78A331
tetradic
#3178A3 #9531A3 #A35C31 #3FA331
square
#3178A3 #9531A3 #A35C31 #3FA331
split-complementary
#3178A3 #A3313F #A39531
monochromatic
#153345 #235574 #3178A3 #4998C8 #78B3D6

Accessibility & contrast

On white

4.83
#3178A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3178A3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178A3#FFFFFF#000000##FFFFFF
##3178A31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3178a3;
/* rgb */ color: rgb(49, 120, 163);
/* oklch */ color: oklch(54.7% 0.097 238.8);
Tailwind
colors: {
  custom: {
    50: '#779ebe',
    500: '#3178a3',
    950: '#000000',
  },
}
SCSS
$custom: #3178a3;
$custom-light: #779ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3178a3",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 202.632,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.09712,
    "h": 238.8
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#3178A3
secondary
#BF8E71
accent
#824BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3178A3

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

Preview Lab → · Contrast checker → · Palette generator →

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