#2979A2#2979A2

#2979A2 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.099 H 235.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2979A2
RGBrgb(41, 121, 162)
HSLhsl(200, 60%, 40%)
HSVhsv(200, 75%, 64%)
CMYKcmyk(74.7%, 25.3%, 0%, 36.5%)
CIE-LABlab(47.95, -9.89, -28.88)
CIE-LCHlch(47.95, 30.52, 251.10°)
OKLaboklab(54.68% -0.0562 -0.0814)
OKLCHoklch(54.68% 0.099 235.4)
XYZxyz(14.2708, 16.7531, 36.6570)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979A2 #A25229
analogous
#29A28F #2979A2 #293CA2
triadic
#2979A2 #A22979 #79A229
tetradic
#2979A2 #8F29A2 #A25229 #3CA229
square
#2979A2 #8F29A2 #A25229 #3CA229
split-complementary
#2979A2 #A2293C #A28F29
monochromatic
#103040 #1D5571 #2979A2 #3B9CCD #6CB4DA

Accessibility & contrast

On white

4.83
#2979A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2979A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2979A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2979A2#FFFFFF#000000##FFFFFF
##2979A21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2979a2;
/* rgb */ color: rgb(41, 121, 162);
/* oklch */ color: oklch(54.7% 0.099 235.4);
Tailwind
colors: {
  custom: {
    50: '#749fbd',
    500: '#2979a2',
    950: '#000000',
  },
}
SCSS
$custom: #2979a2;
$custom-light: #749fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2979a2",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 200.331,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.09889,
    "h": 235.4
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#2979A2
secondary
#C08567
accent
#7A45E3
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2979A2

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

Preview Lab → · Contrast checker → · Palette generator →

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