#2979B1#2979B1

#2979B1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.115 H 243.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2979B1
RGBrgb(41, 121, 177)
HSLhsl(205, 62%, 43%)
HSVhsv(205, 77%, 69%)
CMYKcmyk(76.8%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.66, -4.45, -36.50)
CIE-LCHlch(48.66, 36.77, 263.05°)
OKLaboklab(55.48% -0.0512 -0.1035)
OKLCHoklch(55.48% 0.115 243.7)
XYZxyz(15.6846, 17.3186, 44.1026)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2979B1 #B16129
analogous
#29B1A5 #2979B1 #2935B1
triadic
#2979B1 #B12979 #79B129
tetradic
#2979B1 #A529B1 #B16129 #35B129
square
#2979B1 #A529B1 #B16129 #35B129
split-complementary
#2979B1 #B12935 #B1A529
monochromatic
#12354E #1D577F #2979B1 #4498D4 #75B4DF

Accessibility & contrast

On white

4.70
#2979B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2979B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2979B1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2979B1#FFFFFF#000000##FFFFFF
##2979B11.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB3
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2979b1;
/* rgb */ color: rgb(41, 121, 177);
/* oklch */ color: oklch(55.5% 0.115 243.7);
Tailwind
colors: {
  custom: {
    50: '#779fc8',
    500: '#2979b1',
    950: '#000000',
  },
}
SCSS
$custom: #2979b1;
$custom-light: #779fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2979b1",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 204.706,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.11548,
    "h": 243.7
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#2979B1
secondary
#C7936F
accent
#8642E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2979B1

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

Preview Lab → · Contrast checker → · Palette generator →

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