#4E54AE#4E54AE

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

Color values

HEX#4E54AE
RGBrgb(78, 84, 174)
HSLhsl(236, 38%, 49%)
HSVhsv(236, 55%, 68%)
CMYKcmyk(55.2%, 51.7%, 0%, 31.8%)
CIE-LABlab(39.61, 24.06, -49.05)
CIE-LCHlch(39.61, 54.63, 296.13°)
OKLaboklab(48.88% 0.0171 -0.1401)
OKLCHoklch(48.88% 0.141 277)
XYZxyz(13.9498, 11.0154, 41.4273)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54AE #AEA84E
analogous
#4E84AE #4E54AE #784EAE
triadic
#4E54AE #AE4E54 #54AE4E
tetradic
#4E54AE #AE4E84 #AEA84E #4EAE78
square
#4E54AE #AE4E84 #AEA84E #4EAE78
split-complementary
#4E54AE #AE784E #84AE4E
monochromatic
#282B59 #3B4084 #4E54AE #777CC2 #A1A5D5

Accessibility & contrast

On white

6.56
#4E54AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E54AE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54AE#FFFFFF#000000##FFFFFF
##4E54AE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B1
Deuteranopia (green-blind)
#1659AC
Tritanopia (blue-blind)
#1E6879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e54ae;
/* rgb */ color: rgb(78, 84, 174);
/* oklch */ color: oklch(48.9% 0.141 277.0);
Tailwind
colors: {
  custom: {
    50: '#8784c7',
    500: '#4e54ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e54ae;
$custom-light: #8784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54ae",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 236.25,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.14117,
    "h": 277
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#4E54AE
secondary
#C2BF96
accent
#C75ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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