#4E52E1#4E52E1

#4E52E1 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.212 H 275.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E52E1
RGBrgb(78, 82, 225)
HSLhsl(238, 71%, 59%)
HSVhsv(238, 65%, 88%)
CMYKcmyk(65.3%, 63.6%, 0%, 11.8%)
CIE-LABlab(42.90, 42.26, -73.26)
CIE-LCHlch(42.90, 84.58, 299.98°)
OKLaboklab(52.5% 0.0188 -0.2113)
OKLCHoklch(52.5% 0.212 275.1)
XYZxyz(19.7453, 13.0888, 72.7054)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52E1 #E1DD4E
analogous
#4E9CE1 #4E52E1 #934EE1
triadic
#4E52E1 #E14E52 #52E14E
tetradic
#4E52E1 #E14E9C #E1DD4E #4EE193
square
#4E52E1 #E14E9C #E1DD4E #4EE193
split-complementary
#4E52E1 #E1934E #9CE14E
monochromatic
#1A1E9A #2328CF #4E52E1 #8285EA #B7B8F3

Accessibility & contrast

On white

5.80
#4E52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E52E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52E1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52E1#FFFFFF#000000##FFFFFF
##4E52E11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e52e1;
/* rgb */ color: rgb(78, 82, 225);
/* oklch */ color: oklch(52.5% 0.212 275.1);
Tailwind
colors: {
  custom: {
    50: '#9083eb',
    500: '#4e52e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e52e1;
$custom-light: #9083eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52e1",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 238.367,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.21215,
    "h": 275.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#4E52E1
secondary
#E2E0A9
accent
#E93AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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