#2A77A8#2A77A8

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

Color values

HEX#2A77A8
RGBrgb(42, 119, 168)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 66%)
CMYKcmyk(75%, 29.2%, 0%, 34.1%)
CIE-LABlab(47.64, -6.42, -32.86)
CIE-LCHlch(47.64, 33.49, 258.94°)
OKLaboklab(54.53% -0.0516 -0.0929)
OKLCHoklch(54.53% 0.106 240.9)
XYZxyz(14.6168, 16.5114, 39.4549)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77A8 #A85B2A
analogous
#2AA89A #2A77A8 #2A38A8
triadic
#2A77A8 #A82A77 #77A82A
tetradic
#2A77A8 #9A2AA8 #A85B2A #38A82A
square
#2A77A8 #9A2AA8 #A85B2A #38A82A
split-complementary
#2A77A8 #A82A38 #A89A2A
monochromatic
#123246 #1E5477 #2A77A8 #4098CF #71B2DB

Accessibility & contrast

On white

4.88
#2A77A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A77A8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77A8#FFFFFF#000000##FFFFFF
##2A77A81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a77a8;
/* rgb */ color: rgb(42, 119, 168);
/* oklch */ color: oklch(54.5% 0.106 240.9);
Tailwind
colors: {
  custom: {
    50: '#759ec2',
    500: '#2a77a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a77a8;
$custom-light: #759ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77a8",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 203.333,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.10632,
    "h": 240.9
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A77A8

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

Preview Lab → · Contrast checker → · Palette generator →

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