#3178B2#3178B2

#3178B2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.115 H 246.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3178B2
RGBrgb(49, 120, 178)
HSLhsl(207, 57%, 45%)
HSVhsv(207, 72%, 70%)
CMYKcmyk(72.5%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.63, -2.43, -37.10)
CIE-LCHlch(48.63, 37.18, 266.26°)
OKLaboklab(55.54% -0.0455 -0.1052)
OKLCHoklch(55.54% 0.115 246.6)
XYZxyz(16.0159, 17.2985, 44.6057)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B2 #B26B31
analogous
#31B2AC #3178B2 #3137B2
triadic
#3178B2 #B23178 #78B231
tetradic
#3178B2 #AC31B2 #B26B31 #37B231
square
#3178B2 #AC31B2 #B26B31 #37B231
split-complementary
#3178B2 #B23137 #B2AC31
monochromatic
#173752 #245882 #3178B2 #5196CF #81B3DC

Accessibility & contrast

On white

4.71
#3178B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3178B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B2#FFFFFF#000000##FFFFFF
##3178B21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB4
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3178b2;
/* rgb */ color: rgb(49, 120, 178);
/* oklch */ color: oklch(55.5% 0.115 246.6);
Tailwind
colors: {
  custom: {
    50: '#799ec9',
    500: '#3178b2',
    950: '#000000',
  },
}
SCSS
$custom: #3178b2;
$custom-light: #799ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b2",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 206.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.1146,
    "h": 246.6
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#3178B2
secondary
#C59C79
accent
#8C48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B2

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

Preview Lab → · Contrast checker → · Palette generator →

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