#2A77A7#2A77A7

#2A77A7 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.105 H 240.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A77A7
RGBrgb(42, 119, 167)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 65%)
CMYKcmyk(74.9%, 28.7%, 0%, 34.5%)
CIE-LABlab(47.59, -6.78, -32.36)
CIE-LCHlch(47.59, 33.06, 258.16°)
OKLaboklab(54.48% -0.052 -0.0914)
OKLCHoklch(54.48% 0.105 240.4)
XYZxyz(14.5240, 16.4742, 38.9661)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A7 #A75A2A
analogous
#2AA798 #2A77A7 #2A38A7
triadic
#2A77A7 #A72A77 #77A72A
tetradic
#2A77A7 #982AA7 #A75A2A #38A72A
square
#2A77A7 #982AA7 #A75A2A #38A72A
split-complementary
#2A77A7 #A72A38 #A7982A
monochromatic
#113145 #1E5476 #2A77A7 #3F98CF #70B2DB

Accessibility & contrast

On white

4.89
#2A77A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A77A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77A7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A7#FFFFFF#000000##FFFFFF
##2A77A71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6177A9
Deuteranopia (green-blind)
#4F6CA6
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a77a7;
/* rgb */ color: rgb(42, 119, 167);
/* oklch */ color: oklch(54.5% 0.105 240.4);
Tailwind
colors: {
  custom: {
    50: '#759ec1',
    500: '#2a77a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a7;
$custom-light: #759ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a7",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 167
  },
  "hsl": {
    "h": 203.04,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.10519,
    "h": 240.4
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#2A77A7
secondary
#C28C6B
accent
#8245E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A77A7

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

Preview Lab → · Contrast checker → · Palette generator →

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