#4E7EE4#4E7EE4

#4E7EE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.163 H 263.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4E7EE4
RGBrgb(78, 126, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 89%)
CMYKcmyk(65.8%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.18, 16.17, -56.70)
CIE-LCHlch(54.18, 58.96, 285.91°)
OKLaboklab(61.04% -0.0188 -0.1621)
OKLCHoklch(61.04% 0.163 263.4)
XYZxyz(24.6014, 22.1405, 76.3608)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EE4 #E4B44E
analogous
#4EC9E4 #4E7EE4 #694EE4
triadic
#4E7EE4 #E44E7E #7EE44E
tetradic
#4E7EE4 #E44EC9 #E4B44E #4EE469
square
#4E7EE4 #E44EC9 #E4B44E #4EE469
split-complementary
#4E7EE4 #E4694E #C9E44E
monochromatic
#18449F #205AD4 #4E7EE4 #83A5EC #B8CBF4

Accessibility & contrast

On white

3.87
#4E7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4E7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EE4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EE4#FFFFFF#000000##000000
##4E7EE41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7ee4;
/* rgb */ color: rgb(78, 126, 228);
/* oklch */ color: oklch(61.0% 0.163 263.4);
Tailwind
colors: {
  custom: {
    50: '#8ea2ed',
    500: '#4e7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ee4;
$custom-light: #8ea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ee4",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 220.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.16319,
    "h": 263.4
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#4E7EE4
secondary
#E4D1AA
accent
#B538F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4E7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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