#3178B1#3178B1

#3178B1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.113 H 246.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3178B1
RGBrgb(49, 120, 177)
HSLhsl(207, 57%, 44%)
HSVhsv(207, 72%, 69%)
CMYKcmyk(72.3%, 32.2%, 0%, 30.6%)
CIE-LABlab(48.58, -2.79, -36.60)
CIE-LCHlch(48.58, 36.71, 265.65°)
OKLaboklab(55.48% -0.0458 -0.1037)
OKLCHoklch(55.48% 0.113 246.2)
XYZxyz(15.9159, 17.2585, 44.0789)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B1 #B16A31
analogous
#31B1AA #3178B1 #3138B1
triadic
#3178B1 #B13178 #78B131
tetradic
#3178B1 #AA31B1 #B16A31 #38B131
square
#3178B1 #AA31B1 #B16A31 #38B131
split-complementary
#3178B1 #B13138 #B1AA31
monochromatic
#163751 #245881 #3178B1 #5197CF #80B3DC

Accessibility & contrast

On white

4.72
#3178B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3178B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B1#FFFFFF#000000##FFFFFF
##3178B11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB3
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3178b1;
/* rgb */ color: rgb(49, 120, 177);
/* oklch */ color: oklch(55.5% 0.113 246.2);
Tailwind
colors: {
  custom: {
    50: '#799ec8',
    500: '#3178b1',
    950: '#000000',
  },
}
SCSS
$custom: #3178b1;
$custom-light: #799ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b1",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 206.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55481,
    "c": 0.11338,
    "h": 246.2
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#3178B1
secondary
#C59B79
accent
#8C48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B1

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

Preview Lab → · Contrast checker → · Palette generator →

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