#3179B2#3179B2

#3179B2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.114 H 245.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3179B2
RGBrgb(49, 121, 178)
HSLhsl(207, 57%, 45%)
HSVhsv(207, 72%, 70%)
CMYKcmyk(72.5%, 32%, 0%, 30.2%)
CIE-LABlab(48.93, -3.02, -36.63)
CIE-LCHlch(48.93, 36.75, 265.28°)
OKLaboklab(55.77% -0.0465 -0.1038)
OKLCHoklch(55.77% 0.114 245.9)
XYZxyz(16.1368, 17.5403, 44.6460)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3179B2 #B26A31
analogous
#31B2AB #3179B2 #3138B2
triadic
#3179B2 #B23179 #79B231
tetradic
#3179B2 #AB31B2 #B26A31 #38B231
square
#3179B2 #AB31B2 #B26A31 #38B231
split-complementary
#3179B2 #B23138 #B2AB31
monochromatic
#173852 #245882 #3179B2 #5197CF #81B4DC

Accessibility & contrast

On white

4.66
#3179B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3179B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3179B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3179B2#FFFFFF#000000##FFFFFF
##3179B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3179b2;
/* rgb */ color: rgb(49, 121, 178);
/* oklch */ color: oklch(55.8% 0.114 245.9);
Tailwind
colors: {
  custom: {
    50: '#7a9fc9',
    500: '#3179b2',
    950: '#000000',
  },
}
SCSS
$custom: #3179b2;
$custom-light: #7a9fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3179b2",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 206.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.11372,
    "h": 245.9
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#3179B2
secondary
#C59B79
accent
#8B48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3179B2

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

Preview Lab → · Contrast checker → · Palette generator →

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