#2A77B4#2A77B4

#2A77B4 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.120 H 246.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A77B4
RGBrgb(42, 119, 180)
HSLhsl(207, 62%, 44%)
HSVhsv(207, 77%, 71%)
CMYKcmyk(76.7%, 33.9%, 0%, 29.4%)
CIE-LABlab(48.23, -2.03, -38.90)
CIE-LCHlch(48.23, 38.96, 267.02°)
OKLaboklab(55.2% -0.0479 -0.1105)
OKLCHoklch(55.2% 0.12 246.5)
XYZxyz(15.7867, 16.9793, 45.6165)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77B4 #B4672A
analogous
#2AB4AC #2A77B4 #2A32B4
triadic
#2A77B4 #B42A77 #77B42A
tetradic
#2A77B4 #AC2AB4 #B4672A #32B42A
square
#2A77B4 #AC2AB4 #B4672A #32B42A
split-complementary
#2A77B4 #B42A32 #B4AC2A
monochromatic
#133551 #1E5682 #2A77B4 #4796D4 #79B2E0

Accessibility & contrast

On white

4.78
#2A77B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A77B4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77B4#FFFFFF#000000##FFFFFF
##2A77B41.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7AB7
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a77b4;
/* rgb */ color: rgb(42, 119, 180);
/* oklch */ color: oklch(55.2% 0.120 246.5);
Tailwind
colors: {
  custom: {
    50: '#779dcb',
    500: '#2a77b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a77b4;
$custom-light: #779dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77b4",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 180
  },
  "hsl": {
    "h": 206.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.12048,
    "h": 246.5
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#2A77B4
secondary
#C89872
accent
#8A43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A77B4

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

Preview Lab → · Contrast checker → · Palette generator →

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