#2D77A6#2D77A6

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

Color values

HEX#2D77A6
RGBrgb(45, 119, 166)
HSLhsl(203, 57%, 41%)
HSVhsv(203, 73%, 65%)
CMYKcmyk(72.9%, 28.3%, 0%, 34.9%)
CIE-LABlab(47.63, -6.73, -31.71)
CIE-LCHlch(47.63, 32.41, 258.02°)
OKLaboklab(54.52% -0.0506 -0.0895)
OKLCHoklch(54.52% 0.103 240.5)
XYZxyz(14.5593, 16.5031, 38.4871)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D77A6 #A65C2D
analogous
#2DA699 #2D77A6 #2D3BA6
triadic
#2D77A6 #A62D77 #77A62D
tetradic
#2D77A6 #992DA6 #A65C2D #3BA62D
square
#2D77A6 #992DA6 #A65C2D #3BA62D
split-complementary
#2D77A6 #A62D3B #A6992D
monochromatic
#133246 #205476 #2D77A6 #4497CC #74B2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D77A6#FFFFFF#000000##FFFFFF
##2D77A61.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)
#6177A8
Deuteranopia (green-blind)
#516CA5
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d77a6;
/* rgb */ color: rgb(45, 119, 166);
/* oklch */ color: oklch(54.5% 0.103 240.5);
Tailwind
colors: {
  custom: {
    50: '#769ec0',
    500: '#2d77a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d77a6;
$custom-light: #769ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d77a6",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 166
  },
  "hsl": {
    "h": 203.306,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.10287,
    "h": 240.5
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#2D77A6
secondary
#C18E6E
accent
#8347E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D77A6

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

Preview Lab → · Contrast checker → · Palette generator →

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