#3178B7#3178B7

#3178B7 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.121 H 248.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3178B7
RGBrgb(49, 120, 183)
HSLhsl(208, 58%, 45%)
HSVhsv(208, 73%, 72%)
CMYKcmyk(73.2%, 34.4%, 0%, 28.2%)
CIE-LABlab(48.89, -0.61, -39.59)
CIE-LCHlch(48.89, 39.60, 269.12°)
OKLaboklab(55.82% -0.0441 -0.1124)
OKLCHoklch(55.82% 0.121 248.6)
XYZxyz(16.5271, 17.5029, 47.2979)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B7 #B77031
analogous
#31B7B3 #3178B7 #3135B7
triadic
#3178B7 #B73178 #78B731
tetradic
#3178B7 #B331B7 #B77031 #35B731
square
#3178B7 #B331B7 #B77031 #35B731
split-complementary
#3178B7 #B73135 #B7B331
monochromatic
#173956 #245887 #3178B7 #5496D1 #84B4DE

Accessibility & contrast

On white

4.67
#3178B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3178B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B7#FFFFFF#000000##FFFFFF
##3178B71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#486EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b7;
/* rgb */ color: rgb(49, 120, 183);
/* oklch */ color: oklch(55.8% 0.121 248.6);
Tailwind
colors: {
  custom: {
    50: '#7a9ecd',
    500: '#3178b7',
    950: '#000000',
  },
}
SCSS
$custom: #3178b7;
$custom-light: #7a9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b7",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 208.209,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.12077,
    "h": 248.6
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#3178B7
secondary
#C8A07C
accent
#8F47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B7

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

Preview Lab → · Contrast checker → · Palette generator →

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