#4E52E0#4E52E0

#4E52E0 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.211 H 275.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E52E0
RGBrgb(78, 82, 224)
HSLhsl(238, 70%, 59%)
HSVhsv(238, 65%, 88%)
CMYKcmyk(65.2%, 63.4%, 0%, 12.2%)
CIE-LABlab(42.81, 41.93, -72.83)
CIE-LCHlch(42.81, 84.04, 299.93°)
OKLaboklab(52.42% 0.0189 -0.21)
OKLCHoklch(52.42% 0.211 275.1)
XYZxyz(19.6093, 13.0344, 71.9891)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52E0 #E0DC4E
analogous
#4E9BE0 #4E52E0 #934EE0
triadic
#4E52E0 #E04E52 #52E04E
tetradic
#4E52E0 #E04E9B #E0DC4E #4EE093
square
#4E52E0 #E04E9B #E0DC4E #4EE093
split-complementary
#4E52E0 #E0934E #9BE04E
monochromatic
#1B1E99 #2429CD #4E52E0 #8285E9 #B6B8F2

Accessibility & contrast

On white

5.82
#4E52E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E52E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52E0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52E0#FFFFFF#000000##FFFFFF
##4E52E01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e52e0;
/* rgb */ color: rgb(78, 82, 224);
/* oklch */ color: oklch(52.4% 0.211 275.1);
Tailwind
colors: {
  custom: {
    50: '#9083eb',
    500: '#4e52e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e52e0;
$custom-light: #9083eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52e0",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 238.356,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.21089,
    "h": 275.1
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#4E52E0
secondary
#E1E0A8
accent
#E83BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52E0

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

Preview Lab → · Contrast checker → · Palette generator →

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