#2A77A1#2A77A1

#2A77A1 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.099 H 236.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A77A1
RGBrgb(42, 119, 161)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 63%)
CMYKcmyk(73.9%, 26.1%, 0%, 36.9%)
CIE-LABlab(47.31, -8.94, -29.28)
CIE-LCHlch(47.31, 30.62, 253.02°)
OKLaboklab(54.16% -0.054 -0.0825)
OKLCHoklch(54.16% 0.099 236.8)
XYZxyz(13.9822, 16.2575, 36.1124)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A1 #A1542A
analogous
#2AA18F #2A77A1 #2A3CA1
triadic
#2A77A1 #A12A77 #77A12A
tetradic
#2A77A1 #8F2AA1 #A1542A #3CA12A
square
#2A77A1 #8F2AA1 #A1542A #3CA12A
split-complementary
#2A77A1 #A12A3C #A18F2A
monochromatic
#112F40 #1D5370 #2A77A1 #3C99CC #6DB3D9

Accessibility & contrast

On white

4.94
#2A77A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A77A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77A1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A1#FFFFFF#000000##FFFFFF
##2A77A11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A3
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a77a1;
/* rgb */ color: rgb(42, 119, 161);
/* oklch */ color: oklch(54.2% 0.099 236.8);
Tailwind
colors: {
  custom: {
    50: '#749ebd',
    500: '#2a77a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a1;
$custom-light: #749ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a1",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 161
  },
  "hsl": {
    "h": 201.176,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.09865,
    "h": 236.8
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#2A77A1
secondary
#C08667
accent
#7D46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A1

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

Preview Lab → · Contrast checker → · Palette generator →

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