#4E7DEA#4E7DEA

#4E7DEA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.172 H 264.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E7DEA
RGBrgb(78, 125, 234)
HSLhsl(222, 79%, 61%)
HSVhsv(222, 67%, 92%)
CMYKcmyk(66.7%, 46.6%, 0%, 8.2%)
CIE-LABlab(54.26, 18.86, -59.91)
CIE-LCHlch(54.26, 62.81, 287.48°)
OKLaboklab(61.22% -0.0169 -0.1716)
OKLCHoklch(61.22% 0.172 264.4)
XYZxyz(25.3216, 22.2250, 80.7813)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DEA #EABB4E
analogous
#4ECBEA #4E7DEA #6D4EEA
triadic
#4E7DEA #EA4E7D #7DEA4E
tetradic
#4E7DEA #EA4ECB #EABB4E #4EEA6D
square
#4E7DEA #EA4ECB #EABB4E #4EEA6D
split-complementary
#4E7DEA #EA6D4E #CBEA4E
monochromatic
#1441A9 #1B56E0 #4E7DEA #85A5F0 #BBCDF7

Accessibility & contrast

On white

3.86
#4E7DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4E7DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DEA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DEA#FFFFFF#000000##000000
##4E7DEA1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7dea;
/* rgb */ color: rgb(78, 125, 234);
/* oklch */ color: oklch(61.2% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa2f1',
    500: '#4e7dea',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dea;
$custom-light: #8fa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dea",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 221.923,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.17239,
    "h": 264.4
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#4E7DEA
secondary
#E7D6AD
accent
#9C0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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