#4E54D9#4E54D9

#4E54D9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.200 H 275.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E54D9
RGBrgb(78, 84, 217)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(64.1%, 61.3%, 0%, 14.9%)
CIE-LABlab(42.72, 38.41, -69.00)
CIE-LCHlch(42.72, 78.97, 299.10°)
OKLaboklab(52.17% 0.0177 -0.1988)
OKLCHoklch(52.17% 0.2 275.1)
XYZxyz(18.8325, 12.9685, 67.1429)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54D9 #D9D34E
analogous
#4E99D9 #4E54D9 #8D4ED9
triadic
#4E54D9 #D94E54 #54D94E
tetradic
#4E54D9 #D94E99 #D9D34E #4ED98D
square
#4E54D9 #D94E99 #D9D34E #4ED98D
split-complementary
#4E54D9 #D98D4E #99D94E
monochromatic
#1F238E #2930C0 #4E54D9 #8085E4 #B3B5EF

Accessibility & contrast

On white

5.84
#4E54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54D9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54D9#FFFFFF#000000##FFFFFF
##4E54D91.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e54d9;
/* rgb */ color: rgb(78, 84, 217);
/* oklch */ color: oklch(52.2% 0.200 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f84e6',
    500: '#4e54d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e54d9;
$custom-light: #8f84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54d9",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 237.41,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.19957,
    "h": 275.1
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#4E54D9
secondary
#DDDBA6
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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