#4E7AE2#4E7AE2

#4E7AE2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.165 H 264.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E7AE2
RGBrgb(78, 122, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(65.5%, 46%, 0%, 11.4%)
CIE-LABlab(52.98, 17.93, -57.49)
CIE-LCHlch(52.98, 60.23, 287.32°)
OKLaboklab(60.08% -0.0153 -0.1645)
OKLCHoklch(60.08% 0.165 264.7)
XYZxyz(23.8241, 21.0275, 74.7399)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AE2 #E2B64E
analogous
#4EC4E2 #4E7AE2 #6C4EE2
triadic
#4E7AE2 #E24E7A #7AE24E
tetradic
#4E7AE2 #E24EC4 #E2B64E #4EE26C
square
#4E7AE2 #E24EC4 #E2B64E #4EE26C
split-complementary
#4E7AE2 #E26C4E #C4E24E
monochromatic
#1A409C #2256D1 #4E7AE2 #83A2EB #B7C9F3

Accessibility & contrast

On white

4.03
#4E7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AE2#FFFFFF#000000##000000
##4E7AE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#2978E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ae2;
/* rgb */ color: rgb(78, 122, 226);
/* oklch */ color: oklch(60.1% 0.165 264.7);
Tailwind
colors: {
  custom: {
    50: '#8e9fec',
    500: '#4e7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ae2;
$custom-light: #8e9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ae2",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 222.162,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.16521,
    "h": 264.7
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#4E7AE2
secondary
#E3D2A9
accent
#B939EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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