#3179B8#3179B8

#3179B8 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.121 H 248.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3179B8
RGBrgb(49, 121, 184)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 73%, 72%)
CMYKcmyk(73.4%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.24, -0.85, -39.62)
CIE-LCHlch(49.24, 39.63, 268.77°)
OKLaboklab(56.11% -0.0447 -0.1125)
OKLCHoklch(56.11% 0.121 248.3)
XYZxyz(16.7524, 17.7865, 47.8883)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3179B8 #B87031
analogous
#31B8B3 #3179B8 #3135B8
triadic
#3179B8 #B83179 #79B831
tetradic
#3179B8 #B331B8 #B87031 #35B831
square
#3179B8 #B331B8 #B87031 #35B831
split-complementary
#3179B8 #B83135 #B8B331
monochromatic
#173957 #245988 #3179B8 #5597D2 #85B5DE

Accessibility & contrast

On white

4.61
#3179B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3179B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3179B8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3179B8#FFFFFF#000000##FFFFFF
##3179B81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3179b8;
/* rgb */ color: rgb(49, 121, 184);
/* oklch */ color: oklch(56.1% 0.121 248.3);
Tailwind
colors: {
  custom: {
    50: '#7b9fcd',
    500: '#3179b8',
    950: '#000000',
  },
}
SCSS
$custom: #3179b8;
$custom-light: #7b9fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3179b8",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 208,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.12108,
    "h": 248.3
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#3179B8
secondary
#C8A07D
accent
#8F47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3179B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3179B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva