#4E59A2#4E59A2

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

Color values

HEX#4E59A2
RGBrgb(78, 89, 162)
HSLhsl(232, 35%, 47%)
HSVhsv(232, 52%, 64%)
CMYKcmyk(51.9%, 45.1%, 0%, 36.5%)
CIE-LABlab(40.20, 16.91, -40.98)
CIE-LCHlch(40.20, 44.33, 292.42°)
OKLaboklab(49.09% 0.0098 -0.1164)
OKLCHoklch(49.09% 0.117 274.8)
XYZxyz(13.2338, 11.3723, 35.6731)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A2 #A2974E
analogous
#4E83A2 #4E59A2 #6D4EA2
triadic
#4E59A2 #A24E59 #59A24E
tetradic
#4E59A2 #A24E83 #A2974E #4EA26D
square
#4E59A2 #A24E83 #A2974E #4EA26D
split-complementary
#4E59A2 #A26D4E #83A24E
monochromatic
#262C4F #3A4279 #4E59A2 #727CBB #9BA2CF

Accessibility & contrast

On white

6.41
#4E59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59A2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A2#FFFFFF#000000##FFFFFF
##4E59A21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#2A6975
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e59a2;
/* rgb */ color: rgb(78, 89, 162);
/* oklch */ color: oklch(49.1% 0.117 274.8);
Tailwind
colors: {
  custom: {
    50: '#8587be',
    500: '#4e59a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a2;
$custom-light: #8587be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a2",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 232.143,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.11679,
    "h": 274.8
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#4E59A2
secondary
#BCB690
accent
#BD5DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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