#2979A8#2979A8

#2979A8 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.105 H 239.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2979A8
RGBrgb(41, 121, 168)
HSLhsl(202, 61%, 41%)
HSVhsv(202, 76%, 66%)
CMYKcmyk(75.6%, 28%, 0%, 34.1%)
CIE-LABlab(48.22, -7.73, -31.95)
CIE-LCHlch(48.22, 32.87, 256.40°)
OKLaboklab(54.99% -0.0541 -0.0902)
OKLCHoklch(54.99% 0.105 239)
XYZxyz(14.8169, 16.9716, 39.5331)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979A8 #A85829
analogous
#29A897 #2979A8 #2939A8
triadic
#2979A8 #A82979 #79A829
tetradic
#2979A8 #9729A8 #A85829 #39A829
square
#2979A8 #9729A8 #A85829 #39A829
split-complementary
#2979A8 #A82939 #A89729
monochromatic
#113246 #1D5677 #2979A8 #3E9AD0 #6FB4DC

Accessibility & contrast

On white

4.78
#2979A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2979A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2979A8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2979A8#FFFFFF#000000##FFFFFF
##2979A81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2979a8;
/* rgb */ color: rgb(41, 121, 168);
/* oklch */ color: oklch(55.0% 0.105 239.0);
Tailwind
colors: {
  custom: {
    50: '#759fc2',
    500: '#2979a8',
    950: '#000000',
  },
}
SCSS
$custom: #2979a8;
$custom-light: #759fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2979a8",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 202.205,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.10525,
    "h": 239
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#2979A8
secondary
#C38B6A
accent
#7F44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2979A8

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

Preview Lab → · Contrast checker → · Palette generator →

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