#2979AC#2979AC

#2979AC is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.110 H 241.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2979AC
RGBrgb(41, 121, 172)
HSLhsl(203, 62%, 42%)
HSVhsv(203, 76%, 67%)
CMYKcmyk(76.2%, 29.7%, 0%, 32.5%)
CIE-LABlab(48.41, -6.28, -33.98)
CIE-LCHlch(48.41, 34.55, 259.53°)
OKLaboklab(55.2% -0.0528 -0.0961)
OKLCHoklch(55.2% 0.11 241.2)
XYZxyz(15.1953, 17.1229, 41.5259)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979AC #AC5C29
analogous
#29AC9E #2979AC #2938AC
triadic
#2979AC #AC2979 #79AC29
tetradic
#2979AC #9E29AC #AC5C29 #38AC29
square
#2979AC #9E29AC #AC5C29 #38AC29
split-complementary
#2979AC #AC2938 #AC9E29
monochromatic
#113349 #1D567B #2979AC #4199D2 #72B4DD

Accessibility & contrast

On white

4.75
#2979AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2979AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2979AC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2979AC#FFFFFF#000000##FFFFFF
##2979AC1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2979ac;
/* rgb */ color: rgb(41, 121, 172);
/* oklch */ color: oklch(55.2% 0.110 241.2);
Tailwind
colors: {
  custom: {
    50: '#769fc5',
    500: '#2979ac',
    950: '#000000',
  },
}
SCSS
$custom: #2979ac;
$custom-light: #769fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2979ac",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 203.359,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.10971,
    "h": 241.2
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#2979AC
secondary
#C58F6C
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2979AC

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

Preview Lab → · Contrast checker → · Palette generator →

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