#4E77B1#4E77B1

#4E77B1 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.5% C 0.102 H 257.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4E77B1
RGBrgb(78, 119, 177)
HSLhsl(215, 39%, 50%)
HSVhsv(215, 56%, 69%)
CMYKcmyk(55.9%, 32.8%, 0%, 30.6%)
CIE-LABlab(49.48, 3.14, -35.11)
CIE-LCHlch(49.48, 35.25, 275.11°)
OKLaboklab(56.51% -0.0226 -0.099)
OKLCHoklch(56.51% 0.102 257.2)
XYZxyz(17.6718, 17.9863, 44.1269)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E77B1 #B1884E
analogous
#4EA8B1 #4E77B1 #574EB1
triadic
#4E77B1 #B14E77 #77B14E
tetradic
#4E77B1 #B14EA8 #B1884E #4EB157
square
#4E77B1 #B14EA8 #B1884E #4EB157
split-complementary
#4E77B1 #B1574E #A8B14E
monochromatic
#293E5C #3B5A87 #4E77B1 #7898C4 #A3B8D6

Accessibility & contrast

On white

4.57
#4E77B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4E77B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E77B1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E77B1#FFFFFF#000000##000000
##4E77B11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB3
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#0A848C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e77b1;
/* rgb */ color: rgb(78, 119, 177);
/* oklch */ color: oklch(56.5% 0.102 257.2);
Tailwind
colors: {
  custom: {
    50: '#879ec8',
    500: '#4e77b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e77b1;
$custom-light: #879ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e77b1",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 177
  },
  "hsl": {
    "h": 215.152,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.10153,
    "h": 257.2
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#4E77B1
secondary
#C4B197
accent
#9E59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E77B1

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

Preview Lab → · Contrast checker → · Palette generator →

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