#2D77B8#2D77B8

#2D77B8 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.5% C 0.124 H 248.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D77B8
RGBrgb(45, 119, 184)
HSLhsl(208, 61%, 45%)
HSVhsv(208, 76%, 72%)
CMYKcmyk(75.5%, 35.3%, 0%, 27.8%)
CIE-LABlab(48.52, -0.17, -40.75)
CIE-LCHlch(48.52, 40.75, 269.76°)
OKLaboklab(55.52% -0.0452 -0.1159)
OKLCHoklch(55.52% 0.124 248.7)
XYZxyz(16.3275, 17.2103, 47.7995)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D77B8 #B86E2D
analogous
#2DB8B4 #2D77B8 #2D31B8
triadic
#2D77B8 #B82D77 #77B82D
tetradic
#2D77B8 #B42DB8 #B86E2D #31B82D
square
#2D77B8 #B42DB8 #B86E2D #31B82D
split-complementary
#2D77B8 #B82D31 #B8B42D
monochromatic
#153756 #215787 #2D77B8 #4E95D4 #80B3E0

Accessibility & contrast

On white

4.73
#2D77B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2D77B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D77B8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D77B8#FFFFFF#000000##FFFFFF
##2D77B81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597ABB
Deuteranopia (green-blind)
#456DB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d77b8;
/* rgb */ color: rgb(45, 119, 184);
/* oklch */ color: oklch(55.5% 0.124 248.7);
Tailwind
colors: {
  custom: {
    50: '#799dcd',
    500: '#2d77b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d77b8;
$custom-light: #799dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d77b8",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 184
  },
  "hsl": {
    "h": 208.058,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.12439,
    "h": 248.7
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#2D77B8
secondary
#C99E78
accent
#8F44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D77B8

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

Preview Lab → · Contrast checker → · Palette generator →

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