#3178BD#3178BD

#3178BD is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.128 H 250.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3178BD
RGBrgb(49, 120, 189)
HSLhsl(210, 59%, 47%)
HSVhsv(210, 74%, 74%)
CMYKcmyk(74.1%, 36.5%, 0%, 25.9%)
CIE-LABlab(49.20, 1.58, -42.56)
CIE-LCHlch(49.20, 42.59, 272.13°)
OKLaboklab(56.17% -0.0424 -0.1211)
OKLCHoklch(56.17% 0.128 250.7)
XYZxyz(17.1649, 17.7581, 50.6573)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178BD #BD7631
analogous
#31BDBC #3178BD #3132BD
triadic
#3178BD #BD3178 #78BD31
tetradic
#3178BD #BC31BD #BD7631 #32BD31
square
#3178BD #BC31BD #BD7631 #32BD31
split-complementary
#3178BD #BD3132 #BDBC31
monochromatic
#183A5C #24598C #3178BD #5896D4 #88B5E0

Accessibility & contrast

On white

4.61
#3178BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178BD#FFFFFF#000000##FFFFFF
##3178BD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587CC0
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3178bd;
/* rgb */ color: rgb(49, 120, 189);
/* oklch */ color: oklch(56.2% 0.128 250.7);
Tailwind
colors: {
  custom: {
    50: '#7c9ed1',
    500: '#3178bd',
    950: '#000000',
  },
}
SCSS
$custom: #3178bd;
$custom-light: #7c9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3178bd",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 209.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.12834,
    "h": 250.7
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#3178BD
secondary
#CAA480
accent
#9346E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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