#3178BB#3178BB

#3178BB is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.126 H 250.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3178BB
RGBrgb(49, 120, 187)
HSLhsl(209, 58%, 46%)
HSVhsv(209, 74%, 73%)
CMYKcmyk(73.8%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.10, 0.85, -41.57)
CIE-LCHlch(49.10, 41.58, 271.17°)
OKLaboklab(56.05% -0.043 -0.1182)
OKLCHoklch(56.05% 0.126 250)
XYZxyz(16.9494, 17.6718, 49.5218)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178BB #BB7431
analogous
#31BBB9 #3178BB #3133BB
triadic
#3178BB #BB3178 #78BB31
tetradic
#3178BB #B931BB #BB7431 #33BB31
square
#3178BB #B931BB #BB7431 #33BB31
split-complementary
#3178BB #BB3133 #BBB931
monochromatic
#183A5A #24598B #3178BB #5696D3 #87B4E0

Accessibility & contrast

On white

4.63
#3178BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3178BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178BB#FFFFFF#000000##FFFFFF
##3178BB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3178bb;
/* rgb */ color: rgb(49, 120, 187);
/* oklch */ color: oklch(56.0% 0.126 250.0);
Tailwind
colors: {
  custom: {
    50: '#7b9ed0',
    500: '#3178bb',
    950: '#000000',
  },
}
SCSS
$custom: #3178bb;
$custom-light: #7b9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3178bb",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 209.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.1258,
    "h": 250
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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