#3178BC#3178BC

#3178BC is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.127 H 250.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3178BC
RGBrgb(49, 120, 188)
HSLhsl(209, 59%, 46%)
HSVhsv(209, 74%, 74%)
CMYKcmyk(73.9%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.15, 1.21, -42.07)
CIE-LCHlch(49.15, 42.08, 271.65°)
OKLaboklab(56.11% -0.0427 -0.1197)
OKLCHoklch(56.11% 0.127 250.4)
XYZxyz(17.0568, 17.7148, 50.0876)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178BC #BC7531
analogous
#31BCBB #3178BC #3132BC
triadic
#3178BC #BC3178 #78BC31
tetradic
#3178BC #BB31BC #BC7531 #32BC31
square
#3178BC #BB31BC #BC7531 #32BC31
split-complementary
#3178BC #BC3132 #BCBB31
monochromatic
#183A5B #24598B #3178BC #5796D3 #88B5E0

Accessibility & contrast

On white

4.62
#3178BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178BC#FFFFFF#000000##FFFFFF
##3178BC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3178bc;
/* rgb */ color: rgb(49, 120, 188);
/* oklch */ color: oklch(56.1% 0.127 250.4);
Tailwind
colors: {
  custom: {
    50: '#7b9ed0',
    500: '#3178bc',
    950: '#000000',
  },
}
SCSS
$custom: #3178bc;
$custom-light: #7b9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3178bc",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 209.353,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.12707,
    "h": 250.4
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#3178BC
secondary
#CAA47F
accent
#9246E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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