#4E7EEA#4E7EEA

#4E7EEA is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.171 H 264.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4E7EEA
RGBrgb(78, 126, 234)
HSLhsl(222, 79%, 61%)
HSVhsv(222, 67%, 92%)
CMYKcmyk(66.7%, 46.2%, 0%, 8.2%)
CIE-LABlab(54.53, 18.25, -59.48)
CIE-LCHlch(54.53, 62.22, 287.06°)
OKLaboklab(61.43% -0.0178 -0.1703)
OKLCHoklch(61.43% 0.171 264)
XYZxyz(25.4488, 22.4794, 80.8237)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EEA #EABA4E
analogous
#4ECCEA #4E7EEA #6C4EEA
triadic
#4E7EEA #EA4E7E #7EEA4E
tetradic
#4E7EEA #EA4ECC #EABA4E #4EEA6C
square
#4E7EEA #EA4ECC #EABA4E #4EEA6C
split-complementary
#4E7EEA #EA6C4E #CCEA4E
monochromatic
#1442A9 #1B57E0 #4E7EEA #85A6F0 #BBCEF7

Accessibility & contrast

On white

3.82
#4E7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4E7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EEA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EEA#FFFFFF#000000##000000
##4E7EEA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7eea;
/* rgb */ color: rgb(78, 126, 234);
/* oklch */ color: oklch(61.4% 0.171 264.0);
Tailwind
colors: {
  custom: {
    50: '#8fa2f1',
    500: '#4e7eea',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eea;
$custom-light: #8fa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eea",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 221.538,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.17122,
    "h": 264
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#4E7EEA
secondary
#E7D5AD
accent
#9B0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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