#2979B4#2979B4

#2979B4 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.119 H 245.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2979B4
RGBrgb(41, 121, 180)
HSLhsl(205, 63%, 43%)
HSVhsv(205, 77%, 71%)
CMYKcmyk(77.2%, 32.8%, 0%, 29.4%)
CIE-LABlab(48.81, -3.35, -38.00)
CIE-LCHlch(48.81, 38.15, 264.96°)
OKLaboklab(55.64% -0.0503 -0.1079)
OKLCHoklch(55.64% 0.119 245)
XYZxyz(15.9869, 17.4396, 45.6948)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979B4 #B46429
analogous
#29B4A9 #2979B4 #2933B4
triadic
#2979B4 #B42979 #79B429
tetradic
#2979B4 #A929B4 #B46429 #33B429
square
#2979B4 #A929B4 #B46429 #33B429
split-complementary
#2979B4 #B42933 #B4A929
monochromatic
#123650 #1E5782 #2979B4 #4598D5 #77B4E0

Accessibility & contrast

On white

4.68
#2979B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2979B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2979B4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2979B4#FFFFFF#000000##FFFFFF
##2979B41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2979b4;
/* rgb */ color: rgb(41, 121, 180);
/* oklch */ color: oklch(55.6% 0.119 245.0);
Tailwind
colors: {
  custom: {
    50: '#779fcb',
    500: '#2979b4',
    950: '#000000',
  },
}
SCSS
$custom: #2979b4;
$custom-light: #779fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2979b4",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 205.468,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.11903,
    "h": 245
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#2979B4
secondary
#C89671
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2979B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2979B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva