#4E54AD#4E54AD

#4E54AD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.140 H 277.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E54AD
RGBrgb(78, 84, 173)
HSLhsl(236, 38%, 49%)
HSVhsv(236, 55%, 68%)
CMYKcmyk(54.9%, 51.4%, 0%, 32.2%)
CIE-LABlab(39.54, 23.73, -48.56)
CIE-LCHlch(39.54, 54.05, 296.04°)
OKLaboklab(48.81% 0.017 -0.1387)
OKLCHoklch(48.81% 0.14 277)
XYZxyz(13.8526, 10.9766, 40.9158)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54AD #ADA74E
analogous
#4E84AD #4E54AD #784EAD
triadic
#4E54AD #AD4E54 #54AD4E
tetradic
#4E54AD #AD4E84 #ADA74E #4EAD78
square
#4E54AD #AD4E84 #ADA74E #4EAD78
split-complementary
#4E54AD #AD784E #84AD4E
monochromatic
#282B59 #3B4083 #4E54AD #777BC2 #A1A4D5

Accessibility & contrast

On white

6.57
#4E54AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E54AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54AD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54AD#FFFFFF#000000##FFFFFF
##4E54AD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#1859AB
Tritanopia (blue-blind)
#206878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e54ad;
/* rgb */ color: rgb(78, 84, 173);
/* oklch */ color: oklch(48.8% 0.140 277.0);
Tailwind
colors: {
  custom: {
    50: '#8784c6',
    500: '#4e54ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e54ad;
$custom-light: #8784c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54ad",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 236.211,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.13974,
    "h": 277
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#4E54AD
secondary
#C2BF95
accent
#C65ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54AD

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

Preview Lab → · Contrast checker → · Palette generator →

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