#4E52E2#4E52E2

#4E52E2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.213 H 275.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E52E2
RGBrgb(78, 82, 226)
HSLhsl(238, 72%, 60%)
HSVhsv(238, 65%, 89%)
CMYKcmyk(65.5%, 63.7%, 0%, 11.4%)
CIE-LABlab(42.98, 42.59, -73.70)
CIE-LCHlch(42.98, 85.12, 300.02°)
OKLaboklab(52.59% 0.0187 -0.2126)
OKLCHoklch(52.59% 0.213 275)
XYZxyz(19.8821, 13.1435, 73.4259)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52E2 #E2DE4E
analogous
#4E9CE2 #4E52E2 #944EE2
triadic
#4E52E2 #E24E52 #52E24E
tetradic
#4E52E2 #E24E9C #E2DE4E #4EE294
square
#4E52E2 #E24E9C #E2DE4E #4EE294
split-complementary
#4E52E2 #E2944E #9CE24E
monochromatic
#1A1D9C #2227D1 #4E52E2 #8385EB #B7B9F3

Accessibility & contrast

On white

5.79
#4E52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52E2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52E2#FFFFFF#000000##FFFFFF
##4E52E21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e52e2;
/* rgb */ color: rgb(78, 82, 226);
/* oklch */ color: oklch(52.6% 0.213 275.0);
Tailwind
colors: {
  custom: {
    50: '#9083ec',
    500: '#4e52e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e52e2;
$custom-light: #9083ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52e2",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 238.378,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.21342,
    "h": 275
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#4E52E2
secondary
#E3E1A9
accent
#EA39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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