#4E52E7#4E52E7

#4E52E7 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.220 H 274.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E52E7
RGBrgb(78, 82, 231)
HSLhsl(238, 76%, 61%)
HSVhsv(238, 66%, 91%)
CMYKcmyk(66.2%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.39, 44.23, -75.86)
CIE-LCHlch(43.39, 87.81, 300.25°)
OKLaboklab(53.02% 0.0183 -0.2189)
OKLCHoklch(53.02% 0.22 274.8)
XYZxyz(20.5782, 13.4220, 77.0921)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52E7 #E7E34E
analogous
#4E9FE7 #4E52E7 #964EE7
triadic
#4E52E7 #E74E52 #52E74E
tetradic
#4E52E7 #E74E9F #E7E34E #4EE796
square
#4E52E7 #E74E9F #E7E34E #4EE796
split-complementary
#4E52E7 #E7964E #9FE74E
monochromatic
#161AA4 #1E23DA #4E52E7 #8487EE #BABBF6

Accessibility & contrast

On white

5.70
#4E52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52E7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52E7#FFFFFF#000000##FFFFFF
##4E52E71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0060E4
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e52e7;
/* rgb */ color: rgb(78, 82, 231);
/* oklch */ color: oklch(53.0% 0.220 274.8);
Tailwind
colors: {
  custom: {
    50: '#9183f0',
    500: '#4e52e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e52e7;
$custom-light: #9183f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52e7",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 238.431,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.21968,
    "h": 274.8
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#4E52E7
secondary
#E5E4AB
accent
#D30DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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