#4E59B4#4E59B4

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

Color values

HEX#4E59B4
RGBrgb(78, 89, 180)
HSLhsl(234, 40%, 51%)
HSVhsv(234, 57%, 71%)
CMYKcmyk(56.7%, 50.6%, 0%, 29.4%)
CIE-LABlab(41.31, 22.88, -49.85)
CIE-LCHlch(41.31, 54.85, 294.65°)
OKLaboklab(50.28% 0.0121 -0.1424)
OKLCHoklch(50.28% 0.143 274.9)
XYZxyz(14.9498, 12.0587, 44.7109)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B4 #B4A94E
analogous
#4E8CB4 #4E59B4 #764EB4
triadic
#4E59B4 #B44E59 #59B44E
tetradic
#4E59B4 #B44E8C #B4A94E #4EB476
square
#4E59B4 #B44E8C #B4A94E #4EB476
split-complementary
#4E59B4 #B4764E #8CB44E
monochromatic
#282E5F #3B438A #4E59B4 #7981C6 #A4AAD8

Accessibility & contrast

On white

6.15
#4E59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B4#FFFFFF#000000##FFFFFF
##4E59B41.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#136D7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e59b4;
/* rgb */ color: rgb(78, 89, 180);
/* oklch */ color: oklch(50.3% 0.143 274.9);
Tailwind
colors: {
  custom: {
    50: '#8887cb',
    500: '#4e59b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b4;
$custom-light: #8887cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b4",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 233.529,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.14294,
    "h": 274.9
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#4E59B4
secondary
#C6C198
accent
#C357D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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