#3178B3#3178B3

#3178B3 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.116 H 247.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3178B3
RGBrgb(49, 120, 179)
HSLhsl(207, 57%, 45%)
HSVhsv(207, 73%, 70%)
CMYKcmyk(72.6%, 33%, 0%, 29.8%)
CIE-LABlab(48.68, -2.06, -37.60)
CIE-LCHlch(48.68, 37.66, 266.86°)
OKLaboklab(55.59% -0.0452 -0.1066)
OKLCHoklch(55.59% 0.116 247)
XYZxyz(16.1167, 17.3388, 45.1364)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B3 #B36C31
analogous
#31B3AD #3178B3 #3137B3
triadic
#3178B3 #B33178 #78B331
tetradic
#3178B3 #AD31B3 #B36C31 #37B331
square
#3178B3 #AD31B3 #B36C31 #37B331
split-complementary
#3178B3 #B33137 #B3AD31
monochromatic
#173853 #245883 #3178B3 #5296D0 #82B3DD

Accessibility & contrast

On white

4.70
#3178B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3178B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B3#FFFFFF#000000##FFFFFF
##3178B31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b3;
/* rgb */ color: rgb(49, 120, 179);
/* oklch */ color: oklch(55.6% 0.116 247.0);
Tailwind
colors: {
  custom: {
    50: '#7a9eca',
    500: '#3178b3',
    950: '#000000',
  },
}
SCSS
$custom: #3178b3;
$custom-light: #7a9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b3",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 207.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.11583,
    "h": 247
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#3178B3
secondary
#C69C7A
accent
#8D48E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B3

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

Preview Lab → · Contrast checker → · Palette generator →

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