#3178B6#3178B6

#3178B6 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.120 H 248.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3178B6
RGBrgb(49, 120, 182)
HSLhsl(208, 58%, 45%)
HSVhsv(208, 73%, 71%)
CMYKcmyk(73.1%, 34.1%, 0%, 28.6%)
CIE-LABlab(48.84, -0.98, -39.10)
CIE-LCHlch(48.84, 39.11, 268.57°)
OKLaboklab(55.76% -0.0443 -0.111)
OKLCHoklch(55.76% 0.12 248.2)
XYZxyz(16.4234, 17.4615, 46.7517)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178B6 #B66F31
analogous
#31B6B1 #3178B6 #3135B6
triadic
#3178B6 #B63178 #78B631
tetradic
#3178B6 #B131B6 #B66F31 #35B631
square
#3178B6 #B131B6 #B66F31 #35B631
split-complementary
#3178B6 #B63135 #B6B131
monochromatic
#173856 #245886 #3178B6 #5396D1 #84B4DE

Accessibility & contrast

On white

4.67
#3178B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3178B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3178B6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178B6#FFFFFF#000000##FFFFFF
##3178B61.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BB9
Deuteranopia (green-blind)
#496EB5
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3178b6;
/* rgb */ color: rgb(49, 120, 182);
/* oklch */ color: oklch(55.8% 0.120 248.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ecc',
    500: '#3178b6',
    950: '#000000',
  },
}
SCSS
$custom: #3178b6;
$custom-light: #7a9ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3178b6",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 182
  },
  "hsl": {
    "h": 207.97,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.11953,
    "h": 248.2
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#3178B6
secondary
#C79F7C
accent
#8F47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3178B6

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

Preview Lab → · Contrast checker → · Palette generator →

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