#4E7AE1#4E7AE1

#4E7AE1 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.164 H 264.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E7AE1
RGBrgb(78, 122, 225)
HSLhsl(222, 71%, 59%)
HSVhsv(222, 65%, 88%)
CMYKcmyk(65.3%, 45.8%, 0%, 11.8%)
CIE-LABlab(52.92, 17.58, -57.03)
CIE-LCHlch(52.92, 59.68, 287.14°)
OKLaboklab(60.02% -0.0155 -0.1631)
OKLCHoklch(60.02% 0.164 264.6)
XYZxyz(23.6873, 20.9728, 74.0194)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AE1 #E1B54E
analogous
#4EC3E1 #4E7AE1 #6C4EE1
triadic
#4E7AE1 #E14E7A #7AE14E
tetradic
#4E7AE1 #E14EC3 #E1B54E #4EE16C
square
#4E7AE1 #E14EC3 #E1B54E #4EE16C
split-complementary
#4E7AE1 #E16C4E #C3E14E
monochromatic
#1A419A #2356CF #4E7AE1 #82A1EA #B7C9F3

Accessibility & contrast

On white

4.04
#4E7AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4E7AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AE1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AE1#FFFFFF#000000##000000
##4E7AE11.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E5
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ae1;
/* rgb */ color: rgb(78, 122, 225);
/* oklch */ color: oklch(60.0% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#8e9feb',
    500: '#4e7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ae1;
$custom-light: #8e9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ae1",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 222.041,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.16387,
    "h": 264.6
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#4E7AE1
secondary
#E2D1A9
accent
#B83AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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