#4E7EE1#4E7EE1

#4E7EE1 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.159 H 263.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E7EE1
RGBrgb(78, 126, 225)
HSLhsl(220, 71%, 59%)
HSVhsv(220, 65%, 88%)
CMYKcmyk(65.3%, 44%, 0%, 11.8%)
CIE-LABlab(54.00, 15.13, -55.30)
CIE-LCHlch(54.00, 57.33, 285.30°)
OKLaboklab(60.85% -0.0193 -0.158)
OKLCHoklch(60.85% 0.159 263)
XYZxyz(24.1886, 21.9753, 74.1865)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EE1 #E1B14E
analogous
#4EC8E1 #4E7EE1 #684EE1
triadic
#4E7EE1 #E14E7E #7EE14E
tetradic
#4E7EE1 #E14EC8 #E1B14E #4EE168
square
#4E7EE1 #E14EC8 #E1B14E #4EE168
split-complementary
#4E7EE1 #E1684E #C8E14E
monochromatic
#1A449A #235BCF #4E7EE1 #82A4EA #B7CAF3

Accessibility & contrast

On white

3.89
#4E7EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4E7EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EE1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EE1#FFFFFF#000000##000000
##4E7EE11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7ee1;
/* rgb */ color: rgb(78, 126, 225);
/* oklch */ color: oklch(60.8% 0.159 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ea2eb',
    500: '#4e7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ee1;
$custom-light: #8ea2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ee1",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 220.408,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.15916,
    "h": 263
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#4E7EE1
secondary
#E2CFA9
accent
#B33AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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