#4E59EC#4E59EC

#4E59EC is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.218 H 273.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E59EC
RGBrgb(78, 89, 236)
HSLhsl(236, 81%, 62%)
HSVhsv(236, 67%, 93%)
CMYKcmyk(66.9%, 62.3%, 0%, 7.5%)
CIE-LABlab(45.38, 41.70, -75.42)
CIE-LCHlch(45.38, 86.18, 298.94°)
OKLaboklab(54.6% 0.0129 -0.2176)
OKLCHoklch(54.6% 0.218 273.4)
XYZxyz(21.8495, 14.8186, 81.0494)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59EC #ECE14E
analogous
#4EA8EC #4E59EC #924EEC
triadic
#4E59EC #EC4E59 #59EC4E
tetradic
#4E59EC #EC4EA8 #ECE14E #4EEC92
square
#4E59EC #EC4EA8 #ECE14E #4EEC92
split-complementary
#4E59EC #EC924E #A8EC4E
monochromatic
#131DAD #1927E4 #4E59EC #858DF2 #BDC1F8

Accessibility & contrast

On white

5.30
#4E59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4E59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59EC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59EC#FFFFFF#000000##FFFFFF
##4E59EC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e59ec;
/* rgb */ color: rgb(78, 89, 236);
/* oklch */ color: oklch(54.6% 0.218 273.4);
Tailwind
colors: {
  custom: {
    50: '#9288f3',
    500: '#4e59ec',
    950: '#000000',
  },
}
SCSS
$custom: #4e59ec;
$custom-light: #9288f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59ec",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 235.823,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.21799,
    "h": 273.4
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#4E59EC
secondary
#E8E4AE
accent
#CE09DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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