#4E59B5#4E59B5

#4E59B5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.144 H 274.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E59B5
RGBrgb(78, 89, 181)
HSLhsl(234, 41%, 51%)
HSVhsv(234, 57%, 71%)
CMYKcmyk(56.9%, 50.8%, 0%, 29%)
CIE-LABlab(41.37, 23.21, -50.33)
CIE-LCHlch(41.37, 55.42, 294.76°)
OKLaboklab(50.35% 0.0122 -0.1438)
OKLCHoklch(50.35% 0.144 274.9)
XYZxyz(15.0521, 12.0996, 45.2494)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B5 #B5AA4E
analogous
#4E8CB5 #4E59B5 #764EB5
triadic
#4E59B5 #B54E59 #59B54E
tetradic
#4E59B5 #B54E8C #B5AA4E #4EB576
square
#4E59B5 #B54E8C #B5AA4E #4EB576
split-complementary
#4E59B5 #B5764E #8CB54E
monochromatic
#282E60 #3A438B #4E59B5 #7981C7 #A4AAD9

Accessibility & contrast

On white

6.14
#4E59B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E59B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B5#FFFFFF#000000##FFFFFF
##4E59B51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#175DB3
Tritanopia (blue-blind)
#106E7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e59b5;
/* rgb */ color: rgb(78, 89, 181);
/* oklch */ color: oklch(50.4% 0.144 274.9);
Tailwind
colors: {
  custom: {
    50: '#8887cc',
    500: '#4e59b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b5;
$custom-light: #8887cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b5",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 233.592,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.14437,
    "h": 274.9
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#4E59B5
secondary
#C6C199
accent
#C457D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59B5

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

Preview Lab → · Contrast checker → · Palette generator →

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