#2778A8#2778A8

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

Color values

HEX#2778A8
RGBrgb(39, 120, 168)
HSLhsl(202, 62%, 41%)
HSVhsv(202, 77%, 66%)
CMYKcmyk(76.8%, 28.6%, 0%, 34.1%)
CIE-LABlab(47.87, -7.40, -32.51)
CIE-LCHlch(47.87, 33.34, 257.18°)
OKLaboklab(54.69% -0.0542 -0.0919)
OKLCHoklch(54.69% 0.107 239.5)
XYZxyz(14.6183, 16.6897, 39.4892)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2778A8 #A85727
analogous
#27A898 #2778A8 #2737A8
triadic
#2778A8 #A82778 #78A827
tetradic
#2778A8 #9827A8 #A85727 #37A827
square
#2778A8 #9827A8 #A85727 #37A827
split-complementary
#2778A8 #A82737 #A89827
monochromatic
#103145 #1B5576 #2778A8 #3B99D1 #6CB3DD

Accessibility & contrast

On white

4.84
#2778A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2778A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2778A8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2778A8#FFFFFF#000000##FFFFFF
##2778A81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2778a8;
/* rgb */ color: rgb(39, 120, 168);
/* oklch */ color: oklch(54.7% 0.107 239.5);
Tailwind
colors: {
  custom: {
    50: '#749ec2',
    500: '#2778a8',
    950: '#000000',
  },
}
SCSS
$custom: #2778a8;
$custom-light: #749ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2778a8",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 168
  },
  "hsl": {
    "h": 202.326,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.1067,
    "h": 239.5
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#2778A8
secondary
#C38A67
accent
#7F42E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2778A8

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

Preview Lab → · Contrast checker → · Palette generator →

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