#2A77A5#2A77A5

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

Color values

HEX#2A77A5
RGBrgb(42, 119, 165)
HSLhsl(202, 59%, 41%)
HSVhsv(202, 75%, 65%)
CMYKcmyk(74.5%, 27.9%, 0%, 35.3%)
CIE-LABlab(47.50, -7.51, -31.34)
CIE-LCHlch(47.50, 32.22, 256.53°)
OKLaboklab(54.37% -0.0526 -0.0885)
OKLCHoklch(54.37% 0.103 239.3)
XYZxyz(14.3405, 16.4009, 37.9999)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A5 #A5582A
analogous
#2AA595 #2A77A5 #2A39A5
triadic
#2A77A5 #A52A77 #77A52A
tetradic
#2A77A5 #952AA5 #A5582A #39A52A
square
#2A77A5 #952AA5 #A5582A #39A52A
split-complementary
#2A77A5 #A52A39 #A5952A
monochromatic
#113143 #1E5474 #2A77A5 #3E98CE #6FB2DA

Accessibility & contrast

On white

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

On black

4.28
#2A77A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A77A5#FFFFFF#000000##FFFFFF
##2A77A51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6177A7
Deuteranopia (green-blind)
#516BA4
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a77a5;
/* rgb */ color: rgb(42, 119, 165);
/* oklch */ color: oklch(54.4% 0.103 239.3);
Tailwind
colors: {
  custom: {
    50: '#759ec0',
    500: '#2a77a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a5;
$custom-light: #759ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a5",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 165
  },
  "hsl": {
    "h": 202.439,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.10296,
    "h": 239.3
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#2A77A5
secondary
#C18A69
accent
#8045E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A5

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

Preview Lab → · Contrast checker → · Palette generator →

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