#2A778C#2A778C

#2A778C is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.080 H 219.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A778C
RGBrgb(42, 119, 140)
HSLhsl(193, 54%, 36%)
HSVhsv(193, 70%, 55%)
CMYKcmyk(70%, 15%, 0%, 45.1%)
CIE-LABlab(46.42, -16.24, -18.29)
CIE-LCHlch(46.42, 24.46, 228.40°)
OKLaboklab(53.15% -0.062 -0.051)
OKLCHoklch(53.15% 0.08 219.4)
XYZxyz(12.2833, 15.5780, 27.1653)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A778C #8C3F2A
analogous
#2A8C70 #2A778C #2A468C
triadic
#2A778C #8C2A77 #778C2A
tetradic
#2A778C #702A8C #8C3F2A #468C2A
square
#2A778C #702A8C #8C3F2A #468C2A
split-complementary
#2A778C #8C2A46 #8C702A
monochromatic
#0E272E #1C4F5D #2A778C #389FBB #61B8D0

Accessibility & contrast

On white

5.10
#2A778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A778C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A778C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A778C#FFFFFF#000000##FFFFFF
##2A778C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748D
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a778c;
/* rgb */ color: rgb(42, 119, 140);
/* oklch */ color: oklch(53.2% 0.080 219.4);
Tailwind
colors: {
  custom: {
    50: '#719ead',
    500: '#2a778c',
    950: '#000000',
  },
}
SCSS
$custom: #2a778c;
$custom-light: #719ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2a778c",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 192.857,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.08033,
    "h": 219.4
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#2A778C
secondary
#B56F5C
accent
#6A4BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A778C

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

Preview Lab → · Contrast checker → · Palette generator →

#2A778C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva