#3178C6#3178C6

#3178C6 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.140 H 253.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3178C6
RGBrgb(49, 120, 198)
HSLhsl(211, 60%, 48%)
HSVhsv(211, 75%, 78%)
CMYKcmyk(75.3%, 39.4%, 0%, 22.4%)
CIE-LABlab(49.69, 4.90, -46.95)
CIE-LCHlch(49.69, 47.20, 275.95°)
OKLaboklab(56.71% -0.0402 -0.134)
OKLCHoklch(56.71% 0.14 253.3)
XYZxyz(18.1723, 18.1610, 55.9628)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178C6 #C67F31
analogous
#31C2C6 #3178C6 #3431C6
triadic
#3178C6 #C63178 #78C631
tetradic
#3178C6 #C631C2 #C67F31 #31C634
square
#3178C6 #C631C2 #C67F31 #31C634
split-complementary
#3178C6 #C63431 #C2C631
monochromatic
#193D64 #255A95 #3178C6 #5D97D7 #8EB7E3

Accessibility & contrast

On white

4.53
#3178C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#3178C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3178C6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178C6#FFFFFF#000000##000000
##3178C61.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537EC9
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3178c6;
/* rgb */ color: rgb(49, 120, 198);
/* oklch */ color: oklch(56.7% 0.140 253.3);
Tailwind
colors: {
  custom: {
    50: '#7d9ed8',
    500: '#3178c6',
    950: '#000000',
  },
}
SCSS
$custom: #3178c6;
$custom-light: #7d9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3178c6",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 198
  },
  "hsl": {
    "h": 211.409,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.13988,
    "h": 253.3
  },
  "luminance": 0.18163
}

Semantic roles & 50–950 ramp

primary
#3178C6
secondary
#CEAB85
accent
#9844E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3178C6

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

Preview Lab → · Contrast checker → · Palette generator →

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