#2978A8#2978A8

#2978A8 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.106 H 239.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2978A8
RGBrgb(41, 120, 168)
HSLhsl(203, 61%, 41%)
HSVhsv(203, 76%, 66%)
CMYKcmyk(75.6%, 28.6%, 0%, 34.1%)
CIE-LABlab(47.92, -7.14, -32.43)
CIE-LCHlch(47.92, 33.21, 257.58°)
OKLaboklab(54.75% -0.0532 -0.0917)
OKLCHoklch(54.75% 0.106 239.9)
XYZxyz(14.6960, 16.7298, 39.4928)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2978A8 #A85929
analogous
#29A898 #2978A8 #2938A8
triadic
#2978A8 #A82978 #78A829
tetradic
#2978A8 #9829A8 #A85929 #38A829
square
#2978A8 #9829A8 #A85929 #38A829
split-complementary
#2978A8 #A82938 #A89829
monochromatic
#113246 #1D5577 #2978A8 #3E99D0 #6FB3DC

Accessibility & contrast

On white

4.83
#2978A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2978A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2978A8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2978A8#FFFFFF#000000##FFFFFF
##2978A81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278AA
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2978a8;
/* rgb */ color: rgb(41, 120, 168);
/* oklch */ color: oklch(54.7% 0.106 239.9);
Tailwind
colors: {
  custom: {
    50: '#759ec2',
    500: '#2978a8',
    950: '#000000',
  },
}
SCSS
$custom: #2978a8;
$custom-light: #759ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2978a8",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 168
  },
  "hsl": {
    "h": 202.677,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.10596,
    "h": 239.9
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#2978A8
secondary
#C38C6A
accent
#8044E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2978A8

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

Preview Lab → · Contrast checker → · Palette generator →

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