#2778A6#2778A6

#2778A6 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.105 H 238.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2778A6
RGBrgb(39, 120, 166)
HSLhsl(202, 62%, 40%)
HSVhsv(202, 77%, 65%)
CMYKcmyk(76.5%, 27.7%, 0%, 34.9%)
CIE-LABlab(47.77, -8.12, -31.49)
CIE-LCHlch(47.77, 32.52, 255.53°)
OKLaboklab(54.58% -0.0548 -0.089)
OKLCHoklch(54.58% 0.105 238.3)
XYZxyz(14.4334, 16.6157, 38.5155)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2778A6 #A65527
analogous
#27A694 #2778A6 #2739A6
triadic
#2778A6 #A62778 #78A627
tetradic
#2778A6 #9427A6 #A65527 #39A627
square
#2778A6 #9427A6 #A65527 #39A627
split-complementary
#2778A6 #A62739 #A69427
monochromatic
#103043 #1B5474 #2778A6 #3A9AD1 #6BB3DC

Accessibility & contrast

On white

4.86
#2778A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2778A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2778A6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2778A6#FFFFFF#000000##FFFFFF
##2778A61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278A8
Deuteranopia (green-blind)
#516CA5
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2778a6;
/* rgb */ color: rgb(39, 120, 166);
/* oklch */ color: oklch(54.6% 0.105 238.3);
Tailwind
colors: {
  custom: {
    50: '#749ec0',
    500: '#2778a6',
    950: '#000000',
  },
}
SCSS
$custom: #2778a6;
$custom-light: #749ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2778a6",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 166
  },
  "hsl": {
    "h": 201.732,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.10451,
    "h": 238.3
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#2778A6
secondary
#C38866
accent
#7E43E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2778A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2778A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva