#4E59D1#4E59D1

#4E59D1 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.4% C 0.183 H 274.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E59D1
RGBrgb(78, 89, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(62.7%, 57.4%, 0%, 18%)
CIE-LABlab(43.31, 32.64, -63.45)
CIE-LCHlch(43.31, 71.35, 297.23°)
OKLaboklab(52.42% 0.0136 -0.1824)
OKLCHoklch(52.42% 0.183 274.3)
XYZxyz(18.2191, 13.3664, 61.9291)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D1 #D1C64E
analogous
#4E9BD1 #4E59D1 #854ED1
triadic
#4E59D1 #D14E59 #59D14E
tetradic
#4E59D1 #D14E9B #D1C64E #4ED185
square
#4E59D1 #D14E9B #D1C64E #4ED185
split-complementary
#4E59D1 #D1854E #9BD14E
monochromatic
#222A83 #2F3AB3 #4E59D1 #7F87DE #AFB4EA

Accessibility & contrast

On white

5.72
#4E59D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E59D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D1#FFFFFF#000000##FFFFFF
##4E59D11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e59d1;
/* rgb */ color: rgb(78, 89, 209);
/* oklch */ color: oklch(52.4% 0.183 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d87e0',
    500: '#4e59d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d1;
$custom-light: #8d87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d1",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 209
  },
  "hsl": {
    "h": 234.962,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.18294,
    "h": 274.3
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#4E59D1
secondary
#D8D4A2
accent
#D546E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E59D1

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

Preview Lab → · Contrast checker → · Palette generator →

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