#3178B9#3178B9

#3178B9 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.123 H 249.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3178B9
RGBrgb(49, 120, 185)
HSLhsl(209, 58%, 46%)
HSVhsv(209, 74%, 73%)
CMYKcmyk(73.5%, 35.1%, 0%, 27.5%)
CIE-LABlab(48.99, 0.12, -40.59)
CIE-LCHlch(48.99, 40.59, 270.17°)
OKLaboklab(55.93% -0.0435 -0.1153)
OKLCHoklch(55.93% 0.123 249.3)
XYZxyz(16.7367, 17.5868, 48.4021)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B9 #B97231
analogous
#31B9B6 #3178B9 #3134B9
triadic
#3178B9 #B93178 #78B931
tetradic
#3178B9 #B631B9 #B97231 #34B931
square
#3178B9 #B631B9 #B97231 #34B931
split-complementary
#3178B9 #B93134 #B9B631
monochromatic
#173958 #245989 #3178B9 #5596D2 #86B4DF

Accessibility & contrast

On white

4.65
#3178B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3178B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B9#FFFFFF#000000##FFFFFF
##3178B91.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBC
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b9;
/* rgb */ color: rgb(49, 120, 185);
/* oklch */ color: oklch(55.9% 0.123 249.3);
Tailwind
colors: {
  custom: {
    50: '#7b9ece',
    500: '#3178b9',
    950: '#000000',
  },
}
SCSS
$custom: #3178b9;
$custom-light: #7b9ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b9",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 208.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.12328,
    "h": 249.3
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#3178B9
secondary
#C8A17D
accent
#9046E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3178B9

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

Preview Lab → · Contrast checker → · Palette generator →

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