#2A77A4#2A77A4

#2A77A4 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.102 H 238.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A77A4
RGBrgb(42, 119, 164)
HSLhsl(202, 59%, 40%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(74.4%, 27.4%, 0%, 35.7%)
CIE-LABlab(47.45, -7.87, -30.82)
CIE-LCHlch(47.45, 31.81, 255.68°)
OKLaboklab(54.32% -0.053 -0.087)
OKLCHoklch(54.32% 0.102 238.7)
XYZxyz(14.2499, 16.3646, 37.5224)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A4 #A4572A
analogous
#2AA494 #2A77A4 #2A3AA4
triadic
#2A77A4 #A42A77 #77A42A
tetradic
#2A77A4 #942AA4 #A4572A #3AA42A
square
#2A77A4 #942AA4 #A4572A #3AA42A
split-complementary
#2A77A4 #A42A3A #A4942A
monochromatic
#113043 #1E5473 #2A77A4 #3E98CD #6EB2DA

Accessibility & contrast

On white

4.91
#2A77A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A77A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77A4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A4#FFFFFF#000000##FFFFFF
##2A77A41.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6277A6
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a77a4;
/* rgb */ color: rgb(42, 119, 164);
/* oklch */ color: oklch(54.3% 0.102 238.7);
Tailwind
colors: {
  custom: {
    50: '#749ebf',
    500: '#2a77a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a4;
$custom-light: #749ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a4",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 164
  },
  "hsl": {
    "h": 202.131,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.10186,
    "h": 238.7
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#2A77A4
secondary
#C18969
accent
#7F45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A4

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

Preview Lab → · Contrast checker → · Palette generator →

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