#2978AB#2978AB

#2978AB is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 241.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2978AB
RGBrgb(41, 120, 171)
HSLhsl(204, 61%, 42%)
HSVhsv(204, 76%, 67%)
CMYKcmyk(76%, 29.8%, 0%, 32.9%)
CIE-LABlab(48.06, -6.05, -33.95)
CIE-LCHlch(48.06, 34.49, 259.89°)
OKLaboklab(54.91% -0.0522 -0.0961)
OKLCHoklch(54.91% 0.109 241.5)
XYZxyz(14.9787, 16.8429, 40.9817)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2978AB #AB5C29
analogous
#29AB9D #2978AB #2937AB
triadic
#2978AB #AB2978 #78AB29
tetradic
#2978AB #9D29AB #AB5C29 #37AB29
square
#2978AB #9D29AB #AB5C29 #37AB29
split-complementary
#2978AB #AB2937 #AB9D29
monochromatic
#113348 #1D557A #2978AB #4098D1 #71B3DD

Accessibility & contrast

On white

4.81
#2978AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2978AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2978AB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2978AB#FFFFFF#000000##FFFFFF
##2978AB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AD
Deuteranopia (green-blind)
#4E6DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2978ab;
/* rgb */ color: rgb(41, 120, 171);
/* oklch */ color: oklch(54.9% 0.109 241.5);
Tailwind
colors: {
  custom: {
    50: '#759ec4',
    500: '#2978ab',
    950: '#000000',
  },
}
SCSS
$custom: #2978ab;
$custom-light: #759ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2978ab",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 203.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.10933,
    "h": 241.5
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#2978AB
secondary
#C48E6C
accent
#8343E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2978AB

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

Preview Lab → · Contrast checker → · Palette generator →

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