#2A77A6#2A77A6

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

Color values

HEX#2A77A6
RGBrgb(42, 119, 166)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 65%)
CMYKcmyk(74.7%, 28.3%, 0%, 34.9%)
CIE-LABlab(47.54, -7.15, -31.85)
CIE-LCHlch(47.54, 32.64, 257.35°)
OKLaboklab(54.43% -0.0523 -0.09)
OKLCHoklch(54.43% 0.104 239.8)
XYZxyz(14.4319, 16.4374, 38.4811)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A6 #A6592A
analogous
#2AA697 #2A77A6 #2A39A6
triadic
#2A77A6 #A62A77 #77A62A
tetradic
#2A77A6 #972AA6 #A6592A #39A62A
square
#2A77A6 #972AA6 #A6592A #39A62A
split-complementary
#2A77A6 #A62A39 #A6972A
monochromatic
#113144 #1E5475 #2A77A6 #3F98CE #70B2DB

Accessibility & contrast

On white

4.90
#2A77A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2A77A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77A6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A6#FFFFFF#000000##FFFFFF
##2A77A61.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6177A8
Deuteranopia (green-blind)
#506CA5
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a77a6;
/* rgb */ color: rgb(42, 119, 166);
/* oklch */ color: oklch(54.4% 0.104 239.8);
Tailwind
colors: {
  custom: {
    50: '#759ec0',
    500: '#2a77a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a6;
$custom-light: #759ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a6",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 166
  },
  "hsl": {
    "h": 202.742,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.10407,
    "h": 239.8
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#2A77A6
secondary
#C28B6A
accent
#8145E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A6

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

Preview Lab → · Contrast checker → · Palette generator →

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