#2D77BB#2D77BB

#2D77BB is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.128 H 249.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2D77BB
RGBrgb(45, 119, 187)
HSLhsl(209, 61%, 45%)
HSVhsv(209, 76%, 73%)
CMYKcmyk(75.9%, 36.4%, 0%, 26.7%)
CIE-LABlab(48.68, 0.94, -42.23)
CIE-LCHlch(48.68, 42.25, 271.27°)
OKLaboklab(55.69% -0.0444 -0.1202)
OKLCHoklch(55.69% 0.128 249.7)
XYZxyz(16.6453, 17.3375, 49.4733)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D77BB #BB712D
analogous
#2DBBB8 #2D77BB #2D30BB
triadic
#2D77BB #BB2D77 #77BB2D
tetradic
#2D77BB #B82DBB #BB712D #30BB2D
square
#2D77BB #B82DBB #BB712D #30BB2D
split-complementary
#2D77BB #BB2D30 #BBB82D
monochromatic
#153858 #21588A #2D77BB #5095D5 #82B3E1

Accessibility & contrast

On white

4.70
#2D77BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2D77BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D77BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D77BB#FFFFFF#000000##FFFFFF
##2D77BB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577BBE
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d77bb;
/* rgb */ color: rgb(45, 119, 187);
/* oklch */ color: oklch(55.7% 0.128 249.7);
Tailwind
colors: {
  custom: {
    50: '#7a9dd0',
    500: '#2d77bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d77bb;
$custom-light: #7a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d77bb",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 208.732,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.12816,
    "h": 249.7
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#2D77BB
secondary
#CAA07A
accent
#9143E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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