#4E45E5#4E45E5

#4E45E5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.231 H 276.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E45E5
RGBrgb(78, 69, 229)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 70%, 90%)
CMYKcmyk(65.9%, 69.9%, 0%, 10.2%)
CIE-LABlab(40.46, 51.06, -79.53)
CIE-LCHlch(40.46, 94.51, 302.70°)
OKLaboklab(50.85% 0.0273 -0.2297)
OKLCHoklch(50.85% 0.231 276.8)
XYZxyz(19.4083, 11.5314, 75.3165)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45E5 #DCE545
analogous
#458CE5 #4E45E5 #9E45E5
triadic
#4E45E5 #E54E45 #45E54E
tetradic
#4E45E5 #E5458C #DCE545 #45E59E
square
#4E45E5 #E5458C #DCE545 #45E59E
split-complementary
#4E45E5 #E59E45 #8CE545
monochromatic
#1D169A #271DD0 #4E45E5 #817BED #B4B0F4

Accessibility & contrast

On white

6.35
#4E45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45E5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45E5#FFFFFF#000000##FFFFFF
##4E45E51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#0058E2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e45e5;
/* rgb */ color: rgb(78, 69, 229);
/* oklch */ color: oklch(50.8% 0.231 276.8);
Tailwind
colors: {
  custom: {
    50: '#927aef',
    500: '#4e45e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e45e5;
$custom-light: #927aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45e5",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 243.375,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.23131,
    "h": 276.8
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#4E45E5
secondary
#DFE3A3
accent
#F236E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4E45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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