#4E59AC#4E59AC

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

Color values

HEX#4E59AC
RGBrgb(78, 89, 172)
HSLhsl(233, 38%, 49%)
HSVhsv(233, 55%, 67%)
CMYKcmyk(54.7%, 48.3%, 0%, 32.5%)
CIE-LABlab(40.80, 20.21, -45.95)
CIE-LCHlch(40.80, 50.19, 293.74°)
OKLaboklab(49.74% 0.0112 -0.131)
OKLCHoklch(49.74% 0.131 274.9)
XYZxyz(14.1583, 11.7421, 40.5421)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59AC #ACA14E
analogous
#4E88AC #4E59AC #724EAC
triadic
#4E59AC #AC4E59 #59AC4E
tetradic
#4E59AC #AC4E88 #ACA14E #4EAC72
square
#4E59AC #AC4E88 #ACA14E #4EAC72
split-complementary
#4E59AC #AC724E #88AC4E
monochromatic
#282D58 #3B4382 #4E59AC #767FC1 #A0A6D4

Accessibility & contrast

On white

6.27
#4E59AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E59AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59AC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59AC#FFFFFF#000000##FFFFFF
##4E59AC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#206B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e59ac;
/* rgb */ color: rgb(78, 89, 172);
/* oklch */ color: oklch(49.7% 0.131 274.9);
Tailwind
colors: {
  custom: {
    50: '#8787c5',
    500: '#4e59ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e59ac;
$custom-light: #8787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59ac",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 232.979,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.13144,
    "h": 274.9
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#4E59AC
secondary
#C1BC95
accent
#C05ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59AC

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

Preview Lab → · Contrast checker → · Palette generator →

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