#4E77D4#4E77D4

#4E77D4 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.150 H 264.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E77D4
RGBrgb(78, 119, 212)
HSLhsl(222, 61%, 57%)
HSVhsv(222, 63%, 83%)
CMYKcmyk(63.2%, 43.9%, 0%, 16.9%)
CIE-LABlab(51.34, 14.94, -52.22)
CIE-LCHlch(51.34, 54.32, 285.97°)
OKLaboklab(58.56% -0.0147 -0.149)
OKLCHoklch(58.56% 0.15 264.4)
XYZxyz(21.6183, 19.5648, 64.9117)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E77D4 #D4AB4E
analogous
#4EBAD4 #4E77D4 #684ED4
triadic
#4E77D4 #D44E77 #77D44E
tetradic
#4E77D4 #D44EBA #D4AB4E #4ED468
square
#4E77D4 #D44EBA #D4AB4E #4ED468
split-complementary
#4E77D4 #D4684E #BAD44E
monochromatic
#214087 #2D57B8 #4E77D4 #7F9DE0 #B0C3EC

Accessibility & contrast

On white

4.27
#4E77D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4E77D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E77D4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E77D4#FFFFFF#000000##000000
##4E77D41.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#3675D2
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e77d4;
/* rgb */ color: rgb(78, 119, 212);
/* oklch */ color: oklch(58.6% 0.150 264.4);
Tailwind
colors: {
  custom: {
    50: '#8c9de2',
    500: '#4e77d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e77d4;
$custom-light: #8c9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e77d4",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 221.642,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.14976,
    "h": 264.4
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#4E77D4
secondary
#DACAA4
accent
#B344E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E77D4

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

Preview Lab → · Contrast checker → · Palette generator →

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