#3178B8#3178B8

#3178B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.122 H 249.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3178B8
RGBrgb(49, 120, 184)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 73%, 72%)
CMYKcmyk(73.4%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.94, -0.25, -40.09)
CIE-LCHlch(48.94, 40.09, 269.65°)
OKLaboklab(55.88% -0.0438 -0.1139)
OKLCHoklch(55.88% 0.122 249)
XYZxyz(16.6316, 17.5447, 47.8480)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B8 #B87131
analogous
#31B8B4 #3178B8 #3135B8
triadic
#3178B8 #B83178 #78B831
tetradic
#3178B8 #B431B8 #B87131 #35B831
square
#3178B8 #B431B8 #B87131 #35B831
split-complementary
#3178B8 #B83135 #B8B431
monochromatic
#173957 #245888 #3178B8 #5596D2 #85B4DE

Accessibility & contrast

On white

4.66
#3178B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3178B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B8#FFFFFF#000000##FFFFFF
##3178B81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#476FB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b8;
/* rgb */ color: rgb(49, 120, 184);
/* oklch */ color: oklch(55.9% 0.122 249.0);
Tailwind
colors: {
  custom: {
    50: '#7b9ecd',
    500: '#3178b8',
    950: '#000000',
  },
}
SCSS
$custom: #3178b8;
$custom-light: #7b9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b8",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 208.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.12202,
    "h": 249
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#3178B8
secondary
#C8A07D
accent
#9047E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3178B8

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

Preview Lab → · Contrast checker → · Palette generator →

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