#4E59C0#4E59C0

#4E59C0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.160 H 274.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4E59C0
RGBrgb(78, 89, 192)
HSLhsl(234, 48%, 53%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(59.4%, 53.6%, 0%, 24.7%)
CIE-LABlab(42.11, 26.91, -55.57)
CIE-LCHlch(42.11, 61.75, 295.84°)
OKLaboklab(51.14% 0.013 -0.1593)
OKLCHoklch(51.14% 0.16 274.7)
XYZxyz(16.2256, 12.5690, 51.4300)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59C0 #C0B54E
analogous
#4E92C0 #4E59C0 #7C4EC0
triadic
#4E59C0 #C04E59 #59C04E
tetradic
#4E59C0 #C04E92 #C0B54E #4EC07C
square
#4E59C0 #C04E92 #C0B54E #4EC07C
split-complementary
#4E59C0 #C07C4E #92C04E
monochromatic
#272E6D #37409A #4E59C0 #7B83D0 #A8AEE0

Accessibility & contrast

On white

5.98
#4E59C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E59C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59C0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59C0#FFFFFF#000000##FFFFFF
##4E59C01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e59c0;
/* rgb */ color: rgb(78, 89, 192);
/* oklch */ color: oklch(51.1% 0.160 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a87d4',
    500: '#4e59c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e59c0;
$custom-light: #8a87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59c0",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 192
  },
  "hsl": {
    "h": 234.211,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.15981,
    "h": 274.7
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#4E59C0
secondary
#CEC99C
accent
#CA51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E59C0

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

Preview Lab → · Contrast checker → · Palette generator →

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