#4E59D7#4E59D7

#4E59D7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.191 H 274.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4E59D7
RGBrgb(78, 89, 215)
HSLhsl(235, 63%, 57%)
HSVhsv(235, 64%, 84%)
CMYKcmyk(63.7%, 58.6%, 0%, 15.7%)
CIE-LABlab(43.75, 34.67, -66.16)
CIE-LCHlch(43.75, 74.70, 297.65°)
OKLaboklab(52.89% 0.0136 -0.1904)
OKLCHoklch(52.89% 0.191 274.1)
XYZxyz(18.9759, 13.6691, 65.9152)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D7 #D7CC4E
analogous
#4E9ED7 #4E59D7 #874ED7
triadic
#4E59D7 #D74E59 #59D74E
tetradic
#4E59D7 #D74E9E #D7CC4E #4ED787
square
#4E59D7 #D74E9E #D7CC4E #4ED787
split-complementary
#4E59D7 #D7874E #9ED74E
monochromatic
#1F288B #2B36BD #4E59D7 #8088E2 #B2B7EE

Accessibility & contrast

On white

5.62
#4E59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E59D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D7#FFFFFF#000000##FFFFFF
##4E59D71.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e59d7;
/* rgb */ color: rgb(78, 89, 215);
/* oklch */ color: oklch(52.9% 0.191 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e88e4',
    500: '#4e59d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d7;
$custom-light: #8e88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d7",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 235.182,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.1909,
    "h": 274.1
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#4E59D7
secondary
#DCD8A5
accent
#D942E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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