#4E52DE#4E52DE

#4E52DE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.208 H 275.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4E52DE
RGBrgb(78, 82, 222)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(64.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(42.65, 41.27, -71.96)
CIE-LCHlch(42.65, 82.95, 299.84°)
OKLaboklab(52.25% 0.019 -0.2075)
OKLCHoklch(52.25% 0.208 275.2)
XYZxyz(19.3397, 12.9265, 70.5690)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52DE #DEDA4E
analogous
#4E9ADE #4E52DE #924EDE
triadic
#4E52DE #DE4E52 #52DE4E
tetradic
#4E52DE #DE4E9A #DEDA4E #4EDE92
square
#4E52DE #DE4E9A #DEDA4E #4EDE92
split-complementary
#4E52DE #DE924E #9ADE4E
monochromatic
#1C1F96 #262AC9 #4E52DE #8284E8 #B5B7F1

Accessibility & contrast

On white

5.86
#4E52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52DE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52DE#FFFFFF#000000##FFFFFF
##4E52DE1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e52de;
/* rgb */ color: rgb(78, 82, 222);
/* oklch */ color: oklch(52.2% 0.208 275.2);
Tailwind
colors: {
  custom: {
    50: '#9083e9',
    500: '#4e52de',
    950: '#000000',
  },
}
SCSS
$custom: #4e52de;
$custom-light: #9083e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52de",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 238.333,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.20836,
    "h": 275.2
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#4E52DE
secondary
#E0DFA8
accent
#E73CEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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