#4E59C1#4E59C1

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

Color values

HEX#4E59C1
RGBrgb(78, 89, 193)
HSLhsl(234, 48%, 53%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(59.6%, 53.9%, 0%, 24.3%)
CIE-LABlab(42.17, 27.25, -56.04)
CIE-LCHlch(42.17, 62.32, 295.93°)
OKLaboklab(51.21% 0.0131 -0.1607)
OKLCHoklch(51.21% 0.161 274.7)
XYZxyz(16.3368, 12.6135, 52.0155)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59C1 #C1B64E
analogous
#4E92C1 #4E59C1 #7C4EC1
triadic
#4E59C1 #C14E59 #59C14E
tetradic
#4E59C1 #C14E92 #C1B64E #4EC17C
square
#4E59C1 #C14E92 #C1B64E #4EC17C
split-complementary
#4E59C1 #C17C4E #92C14E
monochromatic
#272D6E #36409B #4E59C1 #7B84D1 #A9AEE1

Accessibility & contrast

On white

5.96
#4E59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E59C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59C1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59C1#FFFFFF#000000##FFFFFF
##4E59C11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e59c1;
/* rgb */ color: rgb(78, 89, 193);
/* oklch */ color: oklch(51.2% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a87d4',
    500: '#4e59c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e59c1;
$custom-light: #8a87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59c1",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 234.261,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.16119,
    "h": 274.7
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#4E59C1
secondary
#CEC99D
accent
#CB50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E59C1

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

Preview Lab → · Contrast checker → · Palette generator →

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