#3178C9#3178C9

#3178C9 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.144 H 254.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3178C9
RGBrgb(49, 120, 201)
HSLhsl(212, 61%, 49%)
HSVhsv(212, 76%, 79%)
CMYKcmyk(75.6%, 40.3%, 0%, 21.2%)
CIE-LABlab(49.86, 6.01, -48.39)
CIE-LCHlch(49.86, 48.76, 277.07°)
OKLaboklab(56.9% -0.0395 -0.1382)
OKLCHoklch(56.9% 0.144 254.1)
XYZxyz(18.5218, 18.3008, 57.8033)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178C9 #C98231
analogous
#31C4C9 #3178C9 #3631C9
triadic
#3178C9 #C93178 #78C931
tetradic
#3178C9 #C931C4 #C98231 #31C936
square
#3178C9 #C931C4 #C98231 #31C936
split-complementary
#3178C9 #C93631 #C4C931
monochromatic
#193D67 #255B98 #3178C9 #5F98D8 #90B7E4

Accessibility & contrast

On white

4.51
#3178C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3178C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3178C9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178C9#FFFFFF#000000##000000
##3178C91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3178c9;
/* rgb */ color: rgb(49, 120, 201);
/* oklch */ color: oklch(56.9% 0.144 254.1);
Tailwind
colors: {
  custom: {
    50: '#7e9eda',
    500: '#3178c9',
    950: '#000000',
  },
}
SCSS
$custom: #3178c9;
$custom-light: #7e9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3178c9",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 211.974,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.14376,
    "h": 254.1
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#3178C9
secondary
#CFAD87
accent
#9944E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3178C9

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

Preview Lab → · Contrast checker → · Palette generator →

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