#2978B4#2978B4

#2978B4 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.120 H 245.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2978B4
RGBrgb(41, 120, 180)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 77%, 71%)
CMYKcmyk(77.2%, 33.3%, 0%, 29.4%)
CIE-LABlab(48.51, -2.75, -38.47)
CIE-LCHlch(48.51, 38.57, 265.91°)
OKLaboklab(55.41% -0.0494 -0.1093)
OKLCHoklch(55.41% 0.12 245.7)
XYZxyz(15.8660, 17.1978, 45.6545)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2978B4 #B46529
analogous
#29B4AA #2978B4 #2933B4
triadic
#2978B4 #B42978 #78B429
tetradic
#2978B4 #AA29B4 #B46529 #33B429
square
#2978B4 #AA29B4 #B46529 #33B429
split-complementary
#2978B4 #B42933 #B4AA29
monochromatic
#123650 #1E5782 #2978B4 #4597D5 #77B3E0

Accessibility & contrast

On white

4.73
#2978B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2978B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2978B4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2978B4#FFFFFF#000000##FFFFFF
##2978B41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB7
Deuteranopia (green-blind)
#496DB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2978b4;
/* rgb */ color: rgb(41, 120, 180);
/* oklch */ color: oklch(55.4% 0.120 245.7);
Tailwind
colors: {
  custom: {
    50: '#779ecb',
    500: '#2978b4',
    950: '#000000',
  },
}
SCSS
$custom: #2978b4;
$custom-light: #779ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2978b4",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 180
  },
  "hsl": {
    "h": 205.899,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.11991,
    "h": 245.7
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#2978B4
secondary
#C89671
accent
#8942E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2978B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2978B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva