#2978B3#2978B3

#2978B3 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.119 H 245.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2978B3
RGBrgb(41, 120, 179)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 77%, 70%)
CMYKcmyk(77.1%, 33%, 0%, 29.8%)
CIE-LABlab(48.46, -3.12, -37.97)
CIE-LCHlch(48.46, 38.10, 265.31°)
OKLaboklab(55.35% -0.0497 -0.1078)
OKLCHoklch(55.35% 0.119 245.2)
XYZxyz(15.7645, 17.1572, 45.1199)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2978B3 #B36429
analogous
#29B3A9 #2978B3 #2933B3
triadic
#2978B3 #B32978 #78B329
tetradic
#2978B3 #A929B3 #B36429 #33B329
square
#2978B3 #A929B3 #B36429 #33B329
split-complementary
#2978B3 #B32933 #B3A929
monochromatic
#12354F #1E5781 #2978B3 #4597D4 #77B3E0

Accessibility & contrast

On white

4.74
#2978B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2978B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2978B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2978B3#FFFFFF#000000##FFFFFF
##2978B31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2978b3;
/* rgb */ color: rgb(41, 120, 179);
/* oklch */ color: oklch(55.3% 0.119 245.2);
Tailwind
colors: {
  custom: {
    50: '#779eca',
    500: '#2978b3',
    950: '#000000',
  },
}
SCSS
$custom: #2978b3;
$custom-light: #779eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2978b3",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 205.652,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.11871,
    "h": 245.2
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#2978B3
secondary
#C79670
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2978B3

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

Preview Lab → · Contrast checker → · Palette generator →

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