#4E59C2#4E59C2

#4E59C2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.163 H 274.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E59C2
RGBrgb(78, 89, 194)
HSLhsl(234, 49%, 53%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(59.8%, 54.1%, 0%, 23.9%)
CIE-LABlab(42.24, 27.58, -56.51)
CIE-LCHlch(42.24, 62.89, 296.02°)
OKLaboklab(51.29% 0.0131 -0.162)
OKLCHoklch(51.29% 0.163 274.6)
XYZxyz(16.4487, 12.6582, 52.6050)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59C2 #C2B74E
analogous
#4E93C2 #4E59C2 #7D4EC2
triadic
#4E59C2 #C24E59 #59C24E
tetradic
#4E59C2 #C24E93 #C2B74E #4EC27D
square
#4E59C2 #C24E93 #C2B74E #4EC27D
split-complementary
#4E59C2 #C27D4E #93C24E
monochromatic
#262D6F #36409D #4E59C2 #7C84D2 #A9AEE1

Accessibility & contrast

On white

5.95
#4E59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59C2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59C2#FFFFFF#000000##FFFFFF
##4E59C21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e59c2;
/* rgb */ color: rgb(78, 89, 194);
/* oklch */ color: oklch(51.3% 0.163 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a87d5',
    500: '#4e59c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e59c2;
$custom-light: #8a87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59c2",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 234.31,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.16257,
    "h": 274.6
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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