#4E59C3#4E59C3

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

Color values

HEX#4E59C3
RGBrgb(78, 89, 195)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(60%, 54.4%, 0%, 23.5%)
CIE-LABlab(42.31, 27.92, -56.98)
CIE-LCHlch(42.31, 63.46, 296.10°)
OKLaboklab(51.36% 0.0132 -0.1634)
OKLCHoklch(51.36% 0.164 274.6)
XYZxyz(16.5614, 12.7033, 53.1984)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59C3 #C3B84E
analogous
#4E93C3 #4E59C3 #7D4EC3
triadic
#4E59C3 #C34E59 #59C34E
tetradic
#4E59C3 #C34E93 #C3B84E #4EC37D
square
#4E59C3 #C34E93 #C3B84E #4EC37D
split-complementary
#4E59C3 #C37D4E #93C34E
monochromatic
#262D70 #363F9E #4E59C3 #7C84D2 #A9AFE2

Accessibility & contrast

On white

5.93
#4E59C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E59C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59C3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59C3#FFFFFF#000000##FFFFFF
##4E59C31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F69C7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e59c3;
/* rgb */ color: rgb(78, 89, 195);
/* oklch */ color: oklch(51.4% 0.164 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a87d6',
    500: '#4e59c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e59c3;
$custom-light: #8a87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59c3",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 234.359,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.16395,
    "h": 274.6
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#4E59C3
secondary
#CFCB9D
accent
#CC4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E59C3

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

Preview Lab → · Contrast checker → · Palette generator →

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