#4E77B7#4E77B7

#4E77B7 is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.8% C 0.110 H 259.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4E77B7
RGBrgb(78, 119, 183)
HSLhsl(217, 42%, 51%)
HSVhsv(217, 57%, 72%)
CMYKcmyk(57.4%, 35%, 0%, 28.2%)
CIE-LABlab(49.77, 5.12, -38.12)
CIE-LCHlch(49.77, 38.46, 277.65°)
OKLaboklab(56.84% -0.0209 -0.1077)
OKLCHoklch(56.84% 0.11 259)
XYZxyz(18.2830, 18.2307, 47.3460)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E77B7 #B78E4E
analogous
#4EACB7 #4E77B7 #594EB7
triadic
#4E77B7 #B74E77 #77B74E
tetradic
#4E77B7 #B74EAC #B78E4E #4EB759
square
#4E77B7 #B74EAC #B78E4E #4EB759
split-complementary
#4E77B7 #B7594E #ACB74E
monochromatic
#283F63 #3A5B8E #4E77B7 #7A98C9 #A5BADA

Accessibility & contrast

On white

4.52
#4E77B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4E77B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E77B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E77B7#FFFFFF#000000##000000
##4E77B71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e77b7;
/* rgb */ color: rgb(78, 119, 183);
/* oklch */ color: oklch(56.8% 0.110 259.0);
Tailwind
colors: {
  custom: {
    50: '#879dcd',
    500: '#4e77b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e77b7;
$custom-light: #879dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e77b7",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 183
  },
  "hsl": {
    "h": 216.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.10976,
    "h": 259
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#4E77B7
secondary
#C8B599
accent
#A156D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E77B7

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

Preview Lab → · Contrast checker → · Palette generator →

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