#4E59E7#4E59E7

#4E59E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.212 H 273.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E59E7
RGBrgb(78, 89, 231)
HSLhsl(236, 76%, 61%)
HSVhsv(236, 66%, 91%)
CMYKcmyk(66.2%, 61.5%, 0%, 9.4%)
CIE-LABlab(44.99, 40.04, -73.25)
CIE-LCHlch(44.99, 83.48, 298.66°)
OKLaboklab(54.18% 0.0132 -0.2112)
OKLCHoklch(54.18% 0.212 273.6)
XYZxyz(21.1333, 14.5321, 77.2771)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59E7 #E7DC4E
analogous
#4EA6E7 #4E59E7 #8F4EE7
triadic
#4E59E7 #E74E59 #59E74E
tetradic
#4E59E7 #E74EA6 #E7DC4E #4EE78F
square
#4E59E7 #E74EA6 #E7DC4E #4EE78F
split-complementary
#4E59E7 #E78F4E #A6E74E
monochromatic
#1620A4 #1E2BDA #4E59E7 #848CEE #BABEF6

Accessibility & contrast

On white

5.38
#4E59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4E59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59E7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59E7#FFFFFF#000000##FFFFFF
##4E59E71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e59e7;
/* rgb */ color: rgb(78, 89, 231);
/* oklch */ color: oklch(54.2% 0.212 273.6);
Tailwind
colors: {
  custom: {
    50: '#9188f0',
    500: '#4e59e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e59e7;
$custom-light: #9188f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59e7",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 235.686,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.21165,
    "h": 273.6
  },
  "luminance": 0.14534
}

Semantic roles & 50–950 ramp

primary
#4E59E7
secondary
#E5E1AB
accent
#CA0DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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