#2978C4#2978C4

#2978C4 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.140 H 251.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2978C4
RGBrgb(41, 120, 196)
HSLhsl(209, 65%, 46%)
HSVhsv(209, 79%, 77%)
CMYKcmyk(79.1%, 38.8%, 0%, 23.1%)
CIE-LABlab(49.36, 3.22, -46.34)
CIE-LCHlch(49.36, 46.45, 273.97°)
OKLaboklab(56.35% -0.0451 -0.1323)
OKLCHoklch(56.35% 0.14 251.2)
XYZxyz(17.5910, 17.8878, 54.7394)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2978C4 #C47529
analogous
#29C4C3 #2978C4 #292BC4
triadic
#2978C4 #C42978 #78C429
tetradic
#2978C4 #C329C4 #C47529 #2BC429
square
#2978C4 #C329C4 #C47529 #2BC429
split-complementary
#2978C4 #C4292B #C4C329
monochromatic
#143A5F #1E5991 #2978C4 #5096DA #82B5E5

Accessibility & contrast

On white

4.59
#2978C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2978C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2978C4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2978C4#FFFFFF#000000##FFFFFF
##2978C41.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547DC7
Deuteranopia (green-blind)
#3B6FC3
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2978c4;
/* rgb */ color: rgb(41, 120, 196);
/* oklch */ color: oklch(56.4% 0.140 251.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ed6',
    500: '#2978c4',
    950: '#000000',
  },
}
SCSS
$custom: #2978c4;
$custom-light: #7a9ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2978c4",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 196
  },
  "hsl": {
    "h": 209.419,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.13976,
    "h": 251.2
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#2978C4
secondary
#CEA47B
accent
#923FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2978C4

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

Preview Lab → · Contrast checker → · Palette generator →

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