#4E7CE4#4E7CE4

#4E7CE4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.166 H 264.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7CE4
RGBrgb(78, 124, 228)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 89%)
CMYKcmyk(65.8%, 45.6%, 0%, 10.6%)
CIE-LABlab(53.64, 17.39, -57.56)
CIE-LCHlch(53.64, 60.13, 286.81°)
OKLaboklab(60.62% -0.0169 -0.1647)
OKLCHoklch(60.62% 0.166 264.1)
XYZxyz(24.3482, 21.6341, 76.2764)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CE4 #E4B64E
analogous
#4EC7E4 #4E7CE4 #6B4EE4
triadic
#4E7CE4 #E44E7C #7CE44E
tetradic
#4E7CE4 #E44EC7 #E4B64E #4EE46B
square
#4E7CE4 #E44EC7 #E4B64E #4EE46B
split-complementary
#4E7CE4 #E46B4E #C7E44E
monochromatic
#18429F #2058D4 #4E7CE4 #83A3EC #B8CBF4

Accessibility & contrast

On white

3.94
#4E7CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E7CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CE4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CE4#FFFFFF#000000##000000
##4E7CE41.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#2B7AE2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7ce4;
/* rgb */ color: rgb(78, 124, 228);
/* oklch */ color: oklch(60.6% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea1ed',
    500: '#4e7ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ce4;
$custom-light: #8ea1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ce4",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 221.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.16555,
    "h": 264.1
  },
  "luminance": 0.21636
}

Semantic roles & 50–950 ramp

primary
#4E7CE4
secondary
#E4D2AA
accent
#B838F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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