#4E59DB#4E59DB

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

Color values

HEX#4E59DB
RGBrgb(78, 89, 219)
HSLhsl(235, 66%, 58%)
HSVhsv(235, 64%, 86%)
CMYKcmyk(64.4%, 59.4%, 0%, 14.1%)
CIE-LABlab(44.06, 36.01, -67.96)
CIE-LCHlch(44.06, 76.91, 297.92°)
OKLaboklab(53.21% 0.0135 -0.1957)
OKLCHoklch(53.21% 0.196 273.9)
XYZxyz(19.4962, 13.8772, 68.6552)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59DB #DBD04E
analogous
#4E9FDB #4E59DB #894EDB
triadic
#4E59DB #DB4E59 #59DB4E
tetradic
#4E59DB #DB4E9F #DBD04E #4EDB89
square
#4E59DB #DB4E9F #DBD04E #4EDB89
split-complementary
#4E59DB #DB894E #9FDB4E
monochromatic
#1E2791 #2834C4 #4E59DB #8189E5 #B4B8F0

Accessibility & contrast

On white

5.56
#4E59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59DB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59DB#FFFFFF#000000##FFFFFF
##4E59DB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e59db;
/* rgb */ color: rgb(78, 89, 219);
/* oklch */ color: oklch(53.2% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f88e7',
    500: '#4e59db',
    950: '#000000',
  },
}
SCSS
$custom: #4e59db;
$custom-light: #8f88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59db",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 235.319,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.19616,
    "h": 273.9
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#4E59DB
secondary
#DEDAA6
accent
#DC3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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