#4E59A6#4E59A6

#4E59A6 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.123 H 274.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4E59A6
RGBrgb(78, 89, 166)
HSLhsl(233, 36%, 48%)
HSVhsv(233, 53%, 65%)
CMYKcmyk(53%, 46.4%, 0%, 34.9%)
CIE-LABlab(40.44, 18.22, -42.98)
CIE-LCHlch(40.44, 46.68, 292.98°)
OKLaboklab(49.34% 0.0104 -0.1222)
OKLCHoklch(49.34% 0.123 274.9)
XYZxyz(13.5950, 11.5168, 37.5756)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A6 #A69B4E
analogous
#4E85A6 #4E59A6 #6F4EA6
triadic
#4E59A6 #A64E59 #59A64E
tetradic
#4E59A6 #A64E85 #A69B4E #4EA66F
square
#4E59A6 #A64E85 #A69B4E #4EA66F
split-complementary
#4E59A6 #A66F4E #85A64E
monochromatic
#272C53 #3A437C #4E59A6 #747DBE #9DA4D1

Accessibility & contrast

On white

6.36
#4E59A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E59A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59A6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A6#FFFFFF#000000##FFFFFF
##4E59A61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#266A77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e59a6;
/* rgb */ color: rgb(78, 89, 166);
/* oklch */ color: oklch(49.3% 0.123 274.9);
Tailwind
colors: {
  custom: {
    50: '#8687c1',
    500: '#4e59a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a6;
$custom-light: #8687c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a6",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 166
  },
  "hsl": {
    "h": 232.5,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.12269,
    "h": 274.9
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#4E59A6
secondary
#BEB892
accent
#BE5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E59A6

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

Preview Lab → · Contrast checker → · Palette generator →

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