#4E59DC#4E59DC

#4E59DC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.197 H 273.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E59DC
RGBrgb(78, 89, 220)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(64.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(44.13, 36.35, -68.40)
CIE-LCHlch(44.13, 77.46, 297.99°)
OKLaboklab(53.29% 0.0135 -0.197)
OKLCHoklch(53.29% 0.197 273.9)
XYZxyz(19.6282, 13.9301, 69.3507)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59DC #DCD14E
analogous
#4EA0DC #4E59DC #8A4EDC
triadic
#4E59DC #DC4E59 #59DC4E
tetradic
#4E59DC #DC4EA0 #DCD14E #4EDC8A
square
#4E59DC #DC4EA0 #DCD14E #4EDC8A
split-complementary
#4E59DC #DC8A4E #A0DC4E
monochromatic
#1D2693 #2733C6 #4E59DC #8189E6 #B4B9F0

Accessibility & contrast

On white

5.55
#4E59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59DC#FFFFFF#000000##FFFFFF
##4E59DC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e59dc;
/* rgb */ color: rgb(78, 89, 220);
/* oklch */ color: oklch(53.3% 0.197 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f88e8',
    500: '#4e59dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e59dc;
$custom-light: #8f88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59dc",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 235.352,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.19746,
    "h": 273.9
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#4E59DC
secondary
#DFDBA7
accent
#DD3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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