#4E52ED#4E52ED

#4E52ED is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.227 H 274.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E52ED
RGBrgb(78, 82, 237)
HSLhsl(238, 82%, 62%)
HSVhsv(238, 67%, 93%)
CMYKcmyk(67.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(43.90, 46.19, -78.42)
CIE-LCHlch(43.90, 91.01, 300.50°)
OKLaboklab(53.54% 0.0178 -0.2264)
OKLCHoklch(53.54% 0.227 274.5)
XYZxyz(21.4402, 13.7667, 81.6317)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52ED #EDE94E
analogous
#4EA1ED #4E52ED #9A4EED
triadic
#4E52ED #ED4E52 #52ED4E
tetradic
#4E52ED #ED4EA1 #EDE94E #4EED9A
square
#4E52ED #ED4EA1 #EDE94E #4EED9A
split-complementary
#4E52ED #ED9A4E #A1ED4E
monochromatic
#1216AF #171DE6 #4E52ED #8688F3 #BDBFF8

Accessibility & contrast

On white

5.59
#4E52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52ED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52ED#FFFFFF#000000##FFFFFF
##4E52ED1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0060EA
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e52ed;
/* rgb */ color: rgb(78, 82, 237);
/* oklch */ color: oklch(53.5% 0.227 274.5);
Tailwind
colors: {
  custom: {
    50: '#9283f4',
    500: '#4e52ed',
    950: '#000000',
  },
}
SCSS
$custom: #4e52ed;
$custom-light: #9283f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52ed",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 238.491,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.22713,
    "h": 274.5
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#4E52ED
secondary
#E9E7AE
accent
#D908DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #4E52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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