#4E52E9#4E52E9

#4E52E9 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.222 H 274.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E52E9
RGBrgb(78, 82, 233)
HSLhsl(238, 78%, 61%)
HSVhsv(238, 67%, 91%)
CMYKcmyk(66.5%, 64.8%, 0%, 8.6%)
CIE-LABlab(43.56, 44.89, -76.71)
CIE-LCHlch(43.56, 88.88, 300.33°)
OKLaboklab(53.19% 0.0181 -0.2214)
OKLCHoklch(53.19% 0.222 274.7)
XYZxyz(20.8623, 13.5356, 78.5882)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52E9 #E9E54E
analogous
#4E9FE9 #4E52E9 #974EE9
triadic
#4E52E9 #E94E52 #52E94E
tetradic
#4E52E9 #E94E9F #E9E54E #4EE997
square
#4E52E9 #E94E9F #E9E54E #4EE997
split-complementary
#4E52E9 #E9974E #9FE94E
monochromatic
#1519A8 #1C21DE #4E52E9 #8487F0 #BBBCF7

Accessibility & contrast

On white

5.66
#4E52E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E52E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52E9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52E9#FFFFFF#000000##FFFFFF
##4E52E91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0060E6
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e52e9;
/* rgb */ color: rgb(78, 82, 233);
/* oklch */ color: oklch(53.2% 0.222 274.7);
Tailwind
colors: {
  custom: {
    50: '#9283f1',
    500: '#4e52e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e52e9;
$custom-light: #9283f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52e9",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 238.452,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.22218,
    "h": 274.7
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#4E52E9
secondary
#E7E5AC
accent
#D50BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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