#2A77B5#2A77B5

#2A77B5 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.3% C 0.122 H 246.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A77B5
RGBrgb(42, 119, 181)
HSLhsl(207, 62%, 44%)
HSVhsv(207, 77%, 71%)
CMYKcmyk(76.8%, 34.3%, 0%, 29%)
CIE-LABlab(48.29, -1.66, -39.40)
CIE-LCHlch(48.29, 39.44, 267.59°)
OKLaboklab(55.26% -0.0477 -0.112)
OKLCHoklch(55.26% 0.122 246.9)
XYZxyz(15.8890, 17.0202, 46.1549)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77B5 #B5682A
analogous
#2AB5AD #2A77B5 #2A31B5
triadic
#2A77B5 #B52A77 #77B52A
tetradic
#2A77B5 #AD2AB5 #B5682A #31B52A
square
#2A77B5 #AD2AB5 #B5682A #31B52A
split-complementary
#2A77B5 #B52A31 #B5AD2A
monochromatic
#133652 #1E5683 #2A77B5 #4896D4 #79B2E0

Accessibility & contrast

On white

4.77
#2A77B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A77B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77B5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77B5#FFFFFF#000000##FFFFFF
##2A77B51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB8
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a77b5;
/* rgb */ color: rgb(42, 119, 181);
/* oklch */ color: oklch(55.3% 0.122 246.9);
Tailwind
colors: {
  custom: {
    50: '#789dcb',
    500: '#2a77b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a77b5;
$custom-light: #789dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77b5",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 181
  },
  "hsl": {
    "h": 206.763,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55255,
    "c": 0.1217,
    "h": 246.9
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#2A77B5
secondary
#C89973
accent
#8B42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A77B5

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

Preview Lab → · Contrast checker → · Palette generator →

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