#2E77B4#2E77B4

#2E77B4 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.119 H 247.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2E77B4
RGBrgb(46, 119, 180)
HSLhsl(207, 59%, 44%)
HSVhsv(207, 74%, 71%)
CMYKcmyk(74.4%, 33.9%, 0%, 29.4%)
CIE-LABlab(48.35, -1.51, -38.72)
CIE-LCHlch(48.35, 38.75, 267.76°)
OKLaboklab(55.32% -0.0457 -0.1099)
OKLCHoklch(55.32% 0.119 247.4)
XYZxyz(15.9586, 17.0680, 45.6245)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E77B4 #B46B2E
analogous
#2EB4AE #2E77B4 #2E34B4
triadic
#2E77B4 #B42E77 #77B42E
tetradic
#2E77B4 #AE2EB4 #B46B2E #34B42E
square
#2E77B4 #AE2EB4 #B46B2E #34B42E
split-complementary
#2E77B4 #B42E34 #B4AE2E
monochromatic
#153753 #225783 #2E77B4 #4E96D2 #7EB2DE

Accessibility & contrast

On white

4.76
#2E77B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2E77B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E77B4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E77B4#FFFFFF#000000##FFFFFF
##2E77B41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e77b4;
/* rgb */ color: rgb(46, 119, 180);
/* oklch */ color: oklch(55.3% 0.119 247.4);
Tailwind
colors: {
  custom: {
    50: '#799dcb',
    500: '#2e77b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e77b4;
$custom-light: #799dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e77b4",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 180
  },
  "hsl": {
    "h": 207.313,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.11908,
    "h": 247.4
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#2E77B4
secondary
#C79B77
accent
#8D45E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E77B4

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

Preview Lab → · Contrast checker → · Palette generator →

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