#4E54D0#4E54D0

#4E54D0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.188 H 275.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E54D0
RGBrgb(78, 84, 208)
HSLhsl(237, 58%, 56%)
HSVhsv(237, 63%, 82%)
CMYKcmyk(62.5%, 59.6%, 0%, 18.4%)
CIE-LABlab(42.02, 35.41, -64.97)
CIE-LCHlch(42.02, 73.99, 298.59°)
OKLaboklab(51.44% 0.018 -0.187)
OKLCHoklch(51.44% 0.188 275.5)
XYZxyz(17.6937, 12.5130, 61.1451)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54D0 #D0CA4E
analogous
#4E95D0 #4E54D0 #894ED0
triadic
#4E54D0 #D04E54 #54D04E
tetradic
#4E54D0 #D04E95 #D0CA4E #4ED089
square
#4E54D0 #D04E95 #D0CA4E #4ED089
split-complementary
#4E54D0 #D0894E #95D04E
monochromatic
#222781 #2F35B2 #4E54D0 #7E83DD #AFB1EA

Accessibility & contrast

On white

6.00
#4E54D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E54D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54D0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54D0#FFFFFF#000000##FFFFFF
##4E54D01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e54d0;
/* rgb */ color: rgb(78, 84, 208);
/* oklch */ color: oklch(51.4% 0.188 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d84df',
    500: '#4e54d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e54d0;
$custom-light: #8d84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54d0",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 237.231,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.18782,
    "h": 275.5
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#4E54D0
secondary
#D8D5A2
accent
#DA47E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54D0

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

Preview Lab → · Contrast checker → · Palette generator →

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