#4E59D6#4E59D6

#4E59D6 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.190 H 274.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E59D6
RGBrgb(78, 89, 214)
HSLhsl(235, 62%, 57%)
HSVhsv(235, 64%, 84%)
CMYKcmyk(63.6%, 58.4%, 0%, 16.1%)
CIE-LABlab(43.68, 34.33, -65.71)
CIE-LCHlch(43.68, 74.14, 297.58°)
OKLaboklab(52.81% 0.0136 -0.1891)
OKLCHoklch(52.81% 0.19 274.1)
XYZxyz(18.8479, 13.6179, 65.2406)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D6 #D6CB4E
analogous
#4E9DD6 #4E59D6 #874ED6
triadic
#4E59D6 #D64E59 #59D64E
tetradic
#4E59D6 #D64E9D #D6CB4E #4ED687
square
#4E59D6 #D64E9D #D6CB4E #4ED687
split-complementary
#4E59D6 #D6874E #9DD64E
monochromatic
#20288A #2B37BB #4E59D6 #8088E2 #B1B6ED

Accessibility & contrast

On white

5.64
#4E59D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E59D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D6#FFFFFF#000000##FFFFFF
##4E59D61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e59d6;
/* rgb */ color: rgb(78, 89, 214);
/* oklch */ color: oklch(52.8% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e88e3',
    500: '#4e59d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d6;
$custom-light: #8e88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d6",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 214
  },
  "hsl": {
    "h": 235.147,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.18959,
    "h": 274.1
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#4E59D6
secondary
#DBD7A4
accent
#D842E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E59D6

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

Preview Lab → · Contrast checker → · Palette generator →

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