#4E59AB#4E59AB

#4E59AB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.130 H 274.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E59AB
RGBrgb(78, 89, 171)
HSLhsl(233, 37%, 49%)
HSVhsv(233, 54%, 67%)
CMYKcmyk(54.4%, 48%, 0%, 32.9%)
CIE-LABlab(40.74, 19.88, -45.46)
CIE-LCHlch(40.74, 49.61, 293.62°)
OKLaboklab(49.67% 0.0111 -0.1295)
OKLCHoklch(49.67% 0.13 274.9)
XYZxyz(14.0626, 11.7038, 40.0382)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59AB #ABA04E
analogous
#4E88AB #4E59AB #724EAB
triadic
#4E59AB #AB4E59 #59AB4E
tetradic
#4E59AB #AB4E88 #ABA04E #4EAB72
square
#4E59AB #AB4E88 #ABA04E #4EAB72
split-complementary
#4E59AB #AB724E #88AB4E
monochromatic
#282D57 #3B4381 #4E59AB #767FC0 #A0A6D4

Accessibility & contrast

On white

6.29
#4E59AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E59AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59AB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59AB#FFFFFF#000000##FFFFFF
##4E59AB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#216B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e59ab;
/* rgb */ color: rgb(78, 89, 171);
/* oklch */ color: oklch(49.7% 0.130 274.9);
Tailwind
colors: {
  custom: {
    50: '#8687c4',
    500: '#4e59ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e59ab;
$custom-light: #8687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59ab",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 232.903,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.13,
    "h": 274.9
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#4E59AB
secondary
#C1BB94
accent
#C05ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59AB

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

Preview Lab → · Contrast checker → · Palette generator →

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