#4E59A7#4E59A7

#4E59A7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.124 H 274.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E59A7
RGBrgb(78, 89, 167)
HSLhsl(233, 36%, 48%)
HSVhsv(233, 53%, 65%)
CMYKcmyk(53.3%, 46.7%, 0%, 34.5%)
CIE-LABlab(40.50, 18.55, -43.48)
CIE-LCHlch(40.50, 47.27, 293.11°)
OKLaboklab(49.41% 0.0106 -0.1237)
OKLCHoklch(49.41% 0.124 274.9)
XYZxyz(13.6871, 11.5536, 38.0606)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A7 #A79C4E
analogous
#4E85A7 #4E59A7 #6F4EA7
triadic
#4E59A7 #A74E59 #59A74E
tetradic
#4E59A7 #A74E85 #A79C4E #4EA76F
square
#4E59A7 #A74E85 #A79C4E #4EA76F
split-complementary
#4E59A7 #A76F4E #85A74E
monochromatic
#272D54 #3B437D #4E59A7 #747DBE #9EA4D2

Accessibility & contrast

On white

6.34
#4E59A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E59A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59A7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A7#FFFFFF#000000##FFFFFF
##4E59A71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763AA
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#256A78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e59a7;
/* rgb */ color: rgb(78, 89, 167);
/* oklch */ color: oklch(49.4% 0.124 274.9);
Tailwind
colors: {
  custom: {
    50: '#8687c1',
    500: '#4e59a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a7;
$custom-light: #8687c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a7",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 167
  },
  "hsl": {
    "h": 232.584,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.12416,
    "h": 274.9
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#4E59A7
secondary
#BEB992
accent
#BE5BCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E59A7

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

Preview Lab → · Contrast checker → · Palette generator →

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