#4E59D2#4E59D2

#4E59D2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.184 H 274.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E59D2
RGBrgb(78, 89, 210)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(62.9%, 57.6%, 0%, 17.6%)
CIE-LABlab(43.38, 32.98, -63.90)
CIE-LCHlch(43.38, 71.91, 297.30°)
OKLaboklab(52.5% 0.0136 -0.1838)
OKLCHoklch(52.5% 0.184 274.2)
XYZxyz(18.3433, 13.4161, 62.5832)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D2 #D2C74E
analogous
#4E9BD2 #4E59D2 #854ED2
triadic
#4E59D2 #D24E59 #59D24E
tetradic
#4E59D2 #D24E9B #D2C74E #4ED285
square
#4E59D2 #D24E9B #D2C74E #4ED285
split-complementary
#4E59D2 #D2854E #9BD24E
monochromatic
#222A84 #2E39B5 #4E59D2 #7F87DE #B0B5EB

Accessibility & contrast

On white

5.70
#4E59D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E59D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D2#FFFFFF#000000##FFFFFF
##4E59D21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e59d2;
/* rgb */ color: rgb(78, 89, 210);
/* oklch */ color: oklch(52.5% 0.184 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d87e1',
    500: '#4e59d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d2;
$custom-light: #8d87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d2",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 235,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.18428,
    "h": 274.2
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#4E59D2
secondary
#D9D4A3
accent
#D645E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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