#2979AB#2979AB

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

Color values

HEX#2979AB
RGBrgb(41, 121, 171)
HSLhsl(203, 61%, 42%)
HSVhsv(203, 76%, 67%)
CMYKcmyk(76%, 29.2%, 0%, 32.9%)
CIE-LABlab(48.37, -6.64, -33.47)
CIE-LCHlch(48.37, 34.13, 258.77°)
OKLaboklab(55.15% -0.0531 -0.0947)
OKLCHoklch(55.15% 0.109 240.7)
XYZxyz(15.0996, 17.0847, 41.0220)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979AB #AB5B29
analogous
#29AB9C #2979AB #2938AB
triadic
#2979AB #AB2979 #79AB29
tetradic
#2979AB #9C29AB #AB5B29 #38AB29
square
#2979AB #9C29AB #AB5B29 #38AB29
split-complementary
#2979AB #AB2938 #AB9C29
monochromatic
#113348 #1D567A #2979AB #4099D1 #71B4DD

Accessibility & contrast

On white

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

On black

4.42
#2979AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2979AB#FFFFFF#000000##FFFFFF
##2979AB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAD
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2979ab;
/* rgb */ color: rgb(41, 121, 171);
/* oklch */ color: oklch(55.1% 0.109 240.7);
Tailwind
colors: {
  custom: {
    50: '#759fc4',
    500: '#2979ab',
    950: '#000000',
  },
}
SCSS
$custom: #2979ab;
$custom-light: #759fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2979ab",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 203.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.10858,
    "h": 240.7
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#2979AB
secondary
#C48E6C
accent
#8143E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2979AB

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

Preview Lab → · Contrast checker → · Palette generator →

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