#2E77D4#2E77D4

#2E77D4 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.3% C 0.160 H 256.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2E77D4
RGBrgb(46, 119, 212)
HSLhsl(214, 66%, 51%)
HSVhsv(214, 78%, 83%)
CMYKcmyk(78.3%, 43.9%, 0%, 16.9%)
CIE-LABlab(50.13, 10.38, -54.23)
CIE-LCHlch(50.13, 55.22, 280.84°)
OKLaboklab(57.29% -0.0381 -0.1554)
OKLCHoklch(57.29% 0.16 256.2)
XYZxyz(19.6028, 18.5256, 64.8172)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E77D4 #D48B2E
analogous
#2ECAD4 #2E77D4 #382ED4
triadic
#2E77D4 #D42E77 #77D42E
tetradic
#2E77D4 #D42ECA #D48B2E #2ED438
square
#2E77D4 #D42ECA #D48B2E #2ED438
split-complementary
#2E77D4 #D4382E #CAD42E
monochromatic
#173E70 #225BA3 #2E77D4 #6198DE #94B9E9

Accessibility & contrast

On white

4.46
#2E77D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2E77D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E77D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E77D4#FFFFFF#000000##000000
##2E77D41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e77d4;
/* rgb */ color: rgb(46, 119, 212);
/* oklch */ color: oklch(57.3% 0.160 256.2);
Tailwind
colors: {
  custom: {
    50: '#7f9de2',
    500: '#2e77d4',
    950: '#000000',
  },
}
SCSS
$custom: #2e77d4;
$custom-light: #7f9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e77d4",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 213.614,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.16003,
    "h": 256.2
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#2E77D4
secondary
#D4B38A
accent
#9E3FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2E77D4

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

Preview Lab → · Contrast checker → · Palette generator →

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