#2A77A3#2A77A3

#2A77A3 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.101 H 238.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A77A3
RGBrgb(42, 119, 163)
HSLhsl(202, 59%, 40%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(74.2%, 27%, 0%, 36.1%)
CIE-LABlab(47.40, -8.23, -30.31)
CIE-LCHlch(47.40, 31.41, 254.81°)
OKLaboklab(54.27% -0.0533 -0.0855)
OKLCHoklch(54.27% 0.101 238.1)
XYZxyz(14.1599, 16.3286, 37.0487)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A3 #A3562A
analogous
#2AA392 #2A77A3 #2A3BA3
triadic
#2A77A3 #A32A77 #77A32A
tetradic
#2A77A3 #922AA3 #A3562A #3BA32A
square
#2A77A3 #922AA3 #A3562A #3BA32A
split-complementary
#2A77A3 #A32A3B #A3922A
monochromatic
#113042 #1D5372 #2A77A3 #3D99CD #6EB2DA

Accessibility & contrast

On white

4.92
#2A77A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A77A3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A3#FFFFFF#000000##FFFFFF
##2A77A31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6277A5
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a77a3;
/* rgb */ color: rgb(42, 119, 163);
/* oklch */ color: oklch(54.3% 0.101 238.1);
Tailwind
colors: {
  custom: {
    50: '#749ebe',
    500: '#2a77a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a3;
$custom-light: #749ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a3",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 163
  },
  "hsl": {
    "h": 201.818,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.10079,
    "h": 238.1
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#2A77A3
secondary
#C08868
accent
#7F46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A3

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

Preview Lab → · Contrast checker → · Palette generator →

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