#4E77E1#4E77E1

#4E77E1 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.167 H 265.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E77E1
RGBrgb(78, 119, 225)
HSLhsl(223, 71%, 59%)
HSVhsv(223, 65%, 88%)
CMYKcmyk(65.3%, 47.1%, 0%, 11.8%)
CIE-LABlab(52.12, 19.43, -58.32)
CIE-LCHlch(52.12, 61.47, 288.43°)
OKLaboklab(59.4% -0.0127 -0.167)
OKLCHoklch(59.4% 0.167 265.7)
XYZxyz(23.3246, 20.2474, 73.8985)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E77E1 #E1B84E
analogous
#4EC1E1 #4E77E1 #6F4EE1
triadic
#4E77E1 #E14E77 #77E14E
tetradic
#4E77E1 #E14EC1 #E1B84E #4EE16F
square
#4E77E1 #E14EC1 #E1B84E #4EE16F
split-complementary
#4E77E1 #E16F4E #C1E14E
monochromatic
#1A3E9A #2353CF #4E77E1 #829FEA #B7C7F3

Accessibility & contrast

On white

4.16
#4E77E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E77E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E77E1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E77E1#FFFFFF#000000##000000
##4E77E11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#2176DF
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e77e1;
/* rgb */ color: rgb(78, 119, 225);
/* oklch */ color: oklch(59.4% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#8e9deb',
    500: '#4e77e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e77e1;
$custom-light: #8e9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e77e1",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 223.265,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.16745,
    "h": 265.7
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#4E77E1
secondary
#E2D2A9
accent
#BC3AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E77E1

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

Preview Lab → · Contrast checker → · Palette generator →

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