#2778A5#2778A5

#2778A5 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.103 H 237.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2778A5
RGBrgb(39, 120, 165)
HSLhsl(201, 62%, 40%)
HSVhsv(201, 76%, 65%)
CMYKcmyk(76.4%, 27.3%, 0%, 35.3%)
CIE-LABlab(47.73, -8.49, -30.98)
CIE-LCHlch(47.73, 32.12, 254.68°)
OKLaboklab(54.53% -0.0552 -0.0875)
OKLCHoklch(54.53% 0.103 237.8)
XYZxyz(14.3420, 16.5792, 38.0342)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2778A5 #A55427
analogous
#27A593 #2778A5 #2739A5
triadic
#2778A5 #A52778 #78A527
tetradic
#2778A5 #9327A5 #A55427 #39A527
square
#2778A5 #9327A5 #A55427 #39A527
split-complementary
#2778A5 #A52739 #A59327
monochromatic
#103042 #1B5474 #2778A5 #399AD0 #6AB3DC

Accessibility & contrast

On white

4.87
#2778A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2778A5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2778A5#FFFFFF#000000##FFFFFF
##2778A51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#516CA4
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2778a5;
/* rgb */ color: rgb(39, 120, 165);
/* oklch */ color: oklch(54.5% 0.103 237.8);
Tailwind
colors: {
  custom: {
    50: '#749ec0',
    500: '#2778a5',
    950: '#000000',
  },
}
SCSS
$custom: #2778a5;
$custom-light: #749ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2778a5",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 165
  },
  "hsl": {
    "h": 201.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.10343,
    "h": 237.8
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#2778A5
secondary
#C28766
accent
#7D43E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2778A5

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

Preview Lab → · Contrast checker → · Palette generator →

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