#2A77A2#2A77A2

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

Color values

HEX#2A77A2
RGBrgb(42, 119, 162)
HSLhsl(202, 59%, 40%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(74.1%, 26.5%, 0%, 36.5%)
CIE-LABlab(47.36, -8.59, -29.80)
CIE-LCHlch(47.36, 31.01, 253.93°)
OKLaboklab(54.22% -0.0537 -0.084)
OKLCHoklch(54.22% 0.1 237.4)
XYZxyz(14.0707, 16.2929, 36.5787)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A2 #A2552A
analogous
#2AA291 #2A77A2 #2A3BA2
triadic
#2A77A2 #A22A77 #77A22A
tetradic
#2A77A2 #912AA2 #A2552A #3BA22A
square
#2A77A2 #912AA2 #A2552A #3BA22A
split-complementary
#2A77A2 #A22A3B #A2912A
monochromatic
#113041 #1D5371 #2A77A2 #3D99CD #6DB3D9

Accessibility & contrast

On white

4.93
#2A77A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A77A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77A2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A2#FFFFFF#000000##FFFFFF
##2A77A21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a77a2;
/* rgb */ color: rgb(42, 119, 162);
/* oklch */ color: oklch(54.2% 0.100 237.4);
Tailwind
colors: {
  custom: {
    50: '#749ebd',
    500: '#2a77a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a2;
$custom-light: #749ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a2",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 201.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.09971,
    "h": 237.4
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#2A77A2
secondary
#C08768
accent
#7E46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A77A2

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

Preview Lab → · Contrast checker → · Palette generator →

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