#4E59D8#4E59D8

#4E59D8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.192 H 274.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E59D8
RGBrgb(78, 89, 216)
HSLhsl(235, 64%, 58%)
HSVhsv(235, 64%, 85%)
CMYKcmyk(63.9%, 58.8%, 0%, 15.3%)
CIE-LABlab(43.83, 35.00, -66.61)
CIE-LCHlch(43.83, 75.25, 297.72°)
OKLaboklab(52.97% 0.0136 -0.1917)
OKLCHoklch(52.97% 0.192 274)
XYZxyz(19.1048, 13.7207, 66.5940)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D8 #D8CD4E
analogous
#4E9ED8 #4E59D8 #884ED8
triadic
#4E59D8 #D84E59 #59D84E
tetradic
#4E59D8 #D84E9E #D8CD4E #4ED888
square
#4E59D8 #D84E9E #D8CD4E #4ED888
split-complementary
#4E59D8 #D8884E #9ED84E
monochromatic
#1F288D #2A36BF #4E59D8 #8088E3 #B2B7EE

Accessibility & contrast

On white

5.61
#4E59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E59D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D8#FFFFFF#000000##FFFFFF
##4E59D81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e59d8;
/* rgb */ color: rgb(78, 89, 216);
/* oklch */ color: oklch(53.0% 0.192 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e88e5',
    500: '#4e59d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d8;
$custom-light: #8e88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d8",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 235.217,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.19222,
    "h": 274
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#4E59D8
secondary
#DDD8A5
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E59D8

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

Preview Lab → · Contrast checker → · Palette generator →

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