#4E59A3#4E59A3

#4E59A3 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.1% C 0.118 H 274.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4E59A3
RGBrgb(78, 89, 163)
HSLhsl(232, 35%, 47%)
HSVhsv(232, 52%, 64%)
CMYKcmyk(52.1%, 45.4%, 0%, 36.1%)
CIE-LABlab(40.26, 17.23, -41.48)
CIE-LCHlch(40.26, 44.92, 292.56°)
OKLaboklab(49.15% 0.01 -0.1178)
OKLCHoklch(49.15% 0.118 274.8)
XYZxyz(13.3230, 11.4080, 36.1431)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A3 #A3984E
analogous
#4E84A3 #4E59A3 #6D4EA3
triadic
#4E59A3 #A34E59 #59A34E
tetradic
#4E59A3 #A34E84 #A3984E #4EA36D
square
#4E59A3 #A34E84 #A3984E #4EA36D
split-complementary
#4E59A3 #A36D4E #84A34E
monochromatic
#262C50 #3A427A #4E59A3 #727CBC #9CA3D0

Accessibility & contrast

On white

6.40
#4E59A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E59A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59A3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A3#FFFFFF#000000##FFFFFF
##4E59A31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#296976
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e59a3;
/* rgb */ color: rgb(78, 89, 163);
/* oklch */ color: oklch(49.1% 0.118 274.8);
Tailwind
colors: {
  custom: {
    50: '#8587bf',
    500: '#4e59a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a3;
$custom-light: #8587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a3",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 232.235,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.11827,
    "h": 274.8
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#4E59A3
secondary
#BCB791
accent
#BD5CCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E59A3

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

Preview Lab → · Contrast checker → · Palette generator →

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