#3178B5#3178B5

#3178B5 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.7% C 0.118 H 247.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3178B5
RGBrgb(49, 120, 181)
HSLhsl(208, 57%, 45%)
HSVhsv(208, 73%, 71%)
CMYKcmyk(72.9%, 33.7%, 0%, 29%)
CIE-LABlab(48.79, -1.34, -38.60)
CIE-LCHlch(48.79, 38.62, 268.01°)
OKLaboklab(55.71% -0.0446 -0.1095)
OKLCHoklch(55.71% 0.118 247.8)
XYZxyz(16.3204, 17.4203, 46.2094)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B5 #B56E31
analogous
#31B5B0 #3178B5 #3136B5
triadic
#3178B5 #B53178 #78B531
tetradic
#3178B5 #B031B5 #B56E31 #36B531
square
#3178B5 #B031B5 #B56E31 #36B531
split-complementary
#3178B5 #B53136 #B5B031
monochromatic
#173855 #245885 #3178B5 #5396D0 #83B4DD

Accessibility & contrast

On white

4.68
#3178B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3178B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B5#FFFFFF#000000##FFFFFF
##3178B51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BB8
Deuteranopia (green-blind)
#4A6EB4
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b5;
/* rgb */ color: rgb(49, 120, 181);
/* oklch */ color: oklch(55.7% 0.118 247.8);
Tailwind
colors: {
  custom: {
    50: '#7a9ecb',
    500: '#3178b5',
    950: '#000000',
  },
}
SCSS
$custom: #3178b5;
$custom-light: #7a9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b5",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 207.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.11829,
    "h": 247.8
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#3178B5
secondary
#C79E7B
accent
#8E47E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B5

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

Preview Lab → · Contrast checker → · Palette generator →

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