#4E54DE#4E54DE

#4E54DE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.206 H 274.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4E54DE
RGBrgb(78, 84, 222)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(64.9%, 62.2%, 0%, 12.9%)
CIE-LABlab(43.11, 40.07, -71.21)
CIE-LCHlch(43.11, 81.70, 299.37°)
OKLaboklab(52.58% 0.0174 -0.2053)
OKLCHoklch(52.58% 0.206 274.9)
XYZxyz(19.4927, 13.2326, 70.6200)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54DE #DED84E
analogous
#4E9CDE #4E54DE #904EDE
triadic
#4E54DE #DE4E54 #54DE4E
tetradic
#4E54DE #DE4E9C #DED84E #4EDE90
square
#4E54DE #DE4E9C #DED84E #4EDE90
split-complementary
#4E54DE #DE904E #9CDE4E
monochromatic
#1C2196 #262CC9 #4E54DE #8286E8 #B5B8F1

Accessibility & contrast

On white

5.76
#4E54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54DE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54DE#FFFFFF#000000##FFFFFF
##4E54DE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e54de;
/* rgb */ color: rgb(78, 84, 222);
/* oklch */ color: oklch(52.6% 0.206 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f84e9',
    500: '#4e54de',
    950: '#000000',
  },
}
SCSS
$custom: #4e54de;
$custom-light: #8f84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54de",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 237.5,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.20601,
    "h": 274.9
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#4E54DE
secondary
#E0DEA8
accent
#E43CEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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