#4E54DF#4E54DF

#4E54DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.7% C 0.207 H 274.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E54DF
RGBrgb(78, 84, 223)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(65%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.19, 40.40, -71.64)
CIE-LCHlch(43.19, 82.25, 299.42°)
OKLaboklab(52.67% 0.0174 -0.2066)
OKLCHoklch(52.67% 0.207 274.8)
XYZxyz(19.6271, 13.2863, 71.3279)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54DF #DFD94E
analogous
#4E9DDF #4E54DF #914EDF
triadic
#4E54DF #DF4E54 #54DF4E
tetradic
#4E54DF #DF4E9D #DFD94E #4EDF91
square
#4E54DF #DF4E9D #DFD94E #4EDF91
split-complementary
#4E54DF #DF914E #9DDF4E
monochromatic
#1B2097 #252CCB #4E54DF #8286E8 #B6B8F2

Accessibility & contrast

On white

5.74
#4E54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54DF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54DF#FFFFFF#000000##FFFFFF
##4E54DF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e54df;
/* rgb */ color: rgb(78, 84, 223);
/* oklch */ color: oklch(52.7% 0.207 274.8);
Tailwind
colors: {
  custom: {
    50: '#9084ea',
    500: '#4e54df',
    950: '#000000',
  },
}
SCSS
$custom: #4e54df;
$custom-light: #9084ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54df",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 237.517,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.20729,
    "h": 274.8
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#4E54DF
secondary
#E1DFA8
accent
#E53CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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