#4E59D5#4E59D5

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

Color values

HEX#4E59D5
RGBrgb(78, 89, 213)
HSLhsl(235, 62%, 57%)
HSVhsv(235, 63%, 84%)
CMYKcmyk(63.4%, 58.2%, 0%, 16.5%)
CIE-LABlab(43.61, 33.99, -65.26)
CIE-LCHlch(43.61, 73.58, 297.51°)
OKLaboklab(52.73% 0.0136 -0.1878)
OKLCHoklch(52.73% 0.188 274.1)
XYZxyz(18.7205, 13.5670, 64.5700)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D5 #D5CA4E
analogous
#4E9DD5 #4E59D5 #874ED5
triadic
#4E59D5 #D54E59 #59D54E
tetradic
#4E59D5 #D54E9D #D5CA4E #4ED587
square
#4E59D5 #D54E9D #D5CA4E #4ED587
split-complementary
#4E59D5 #D5874E #9DD54E
monochromatic
#202988 #2C38BA #4E59D5 #7F87E1 #B1B6EC

Accessibility & contrast

On white

5.65
#4E59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E59D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D5#FFFFFF#000000##FFFFFF
##4E59D51.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e59d5;
/* rgb */ color: rgb(78, 89, 213);
/* oklch */ color: oklch(52.7% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d88e3',
    500: '#4e59d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d5;
$custom-light: #8d88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d5",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 235.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.18826,
    "h": 274.1
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#4E59D5
secondary
#DBD6A4
accent
#D843E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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