#2D77AB#2D77AB

#2D77AB is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.109 H 243.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D77AB
RGBrgb(45, 119, 171)
HSLhsl(205, 58%, 42%)
HSVhsv(205, 74%, 67%)
CMYKcmyk(73.7%, 30.4%, 0%, 32.9%)
CIE-LABlab(47.87, -4.93, -34.25)
CIE-LCHlch(47.87, 34.60, 261.81°)
OKLaboklab(54.78% -0.049 -0.0969)
OKLCHoklch(54.78% 0.109 243.2)
XYZxyz(15.0269, 16.6901, 40.9497)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D77AB #AB612D
analogous
#2DABA0 #2D77AB #2D38AB
triadic
#2D77AB #AB2D77 #77AB2D
tetradic
#2D77AB #A02DAB #AB612D #38AB2D
square
#2D77AB #A02DAB #AB612D #38AB2D
split-complementary
#2D77AB #AB2D38 #ABA02D
monochromatic
#14344A #20557B #2D77AB #4796CE #77B2DB

Accessibility & contrast

On white

4.84
#2D77AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2D77AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D77AB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D77AB#FFFFFF#000000##FFFFFF
##2D77AB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d77ab;
/* rgb */ color: rgb(45, 119, 171);
/* oklch */ color: oklch(54.8% 0.109 243.2);
Tailwind
colors: {
  custom: {
    50: '#779ec4',
    500: '#2d77ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d77ab;
$custom-light: #779ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d77ab",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 204.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.10861,
    "h": 243.2
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#2D77AB
secondary
#C39371
accent
#8646E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D77AB

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

Preview Lab → · Contrast checker → · Palette generator →

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