#3179BA#3179BA

#3179BA is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.124 H 249.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3179BA
RGBrgb(49, 121, 186)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 74%, 73%)
CMYKcmyk(73.7%, 34.9%, 0%, 27.1%)
CIE-LABlab(49.34, -0.12, -40.61)
CIE-LCHlch(49.34, 40.61, 269.83°)
OKLaboklab(56.22% -0.0442 -0.1154)
OKLCHoklch(56.22% 0.124 249.1)
XYZxyz(16.9636, 17.8710, 49.0003)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3179BA #BA7231
analogous
#31BAB6 #3179BA #3134BA
triadic
#3179BA #BA3179 #79BA31
tetradic
#3179BA #B631BA #BA7231 #34BA31
square
#3179BA #B631BA #BA7231 #34BA31
split-complementary
#3179BA #BA3134 #BAB631
monochromatic
#173A59 #24598A #3179BA #5697D2 #86B5DF

Accessibility & contrast

On white

4.59
#3179BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3179BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3179BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3179BA#FFFFFF#000000##FFFFFF
##3179BA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3179ba;
/* rgb */ color: rgb(49, 121, 186);
/* oklch */ color: oklch(56.2% 0.124 249.1);
Tailwind
colors: {
  custom: {
    50: '#7b9fcf',
    500: '#3179ba',
    950: '#000000',
  },
}
SCSS
$custom: #3179ba;
$custom-light: #7b9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3179ba",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 208.467,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.12358,
    "h": 249.1
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#3179BA
secondary
#C9A17E
accent
#9046E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3179BA

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

Preview Lab → · Contrast checker → · Palette generator →

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