#4E59A5#4E59A5

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

Color values

HEX#4E59A5
RGBrgb(78, 89, 165)
HSLhsl(232, 36%, 48%)
HSVhsv(232, 53%, 65%)
CMYKcmyk(52.7%, 46.1%, 0%, 35.3%)
CIE-LABlab(40.38, 17.89, -42.48)
CIE-LCHlch(40.38, 46.09, 292.84°)
OKLaboklab(49.28% 0.0103 -0.1208)
OKLCHoklch(49.28% 0.121 274.9)
XYZxyz(13.5036, 11.4802, 37.0944)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A5 #A59A4E
analogous
#4E84A5 #4E59A5 #6F4EA5
triadic
#4E59A5 #A54E59 #59A54E
tetradic
#4E59A5 #A54E84 #A59A4E #4EA56F
square
#4E59A5 #A54E84 #A59A4E #4EA56F
split-complementary
#4E59A5 #A56F4E #84A54E
monochromatic
#272C52 #3A437B #4E59A5 #737DBD #9DA3D1

Accessibility & contrast

On white

6.37
#4E59A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E59A5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A5#FFFFFF#000000##FFFFFF
##4E59A51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#2F5CA3
Tritanopia (blue-blind)
#276977
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e59a5;
/* rgb */ color: rgb(78, 89, 165);
/* oklch */ color: oklch(49.3% 0.121 274.9);
Tailwind
colors: {
  custom: {
    50: '#8687c0',
    500: '#4e59a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a5;
$custom-light: #8687c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a5",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 232.414,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.12122,
    "h": 274.9
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E59A5

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

Preview Lab → · Contrast checker → · Palette generator →

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