#4E54D2#4E54D2

#4E54D2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.190 H 275.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E54D2
RGBrgb(78, 84, 210)
HSLhsl(237, 59%, 56%)
HSVhsv(237, 63%, 82%)
CMYKcmyk(62.9%, 60%, 0%, 17.6%)
CIE-LABlab(42.17, 36.07, -65.87)
CIE-LCHlch(42.17, 75.10, 298.71°)
OKLaboklab(51.6% 0.0179 -0.1896)
OKLCHoklch(51.6% 0.19 275.4)
XYZxyz(17.9413, 12.6120, 62.4492)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54D2 #D2CC4E
analogous
#4E96D2 #4E54D2 #8A4ED2
triadic
#4E54D2 #D24E54 #54D24E
tetradic
#4E54D2 #D24E96 #D2CC4E #4ED28A
square
#4E54D2 #D24E96 #D2CC4E #4ED28A
split-complementary
#4E54D2 #D28A4E #96D24E
monochromatic
#222684 #2E34B5 #4E54D2 #7F83DE #B0B2EB

Accessibility & contrast

On white

5.96
#4E54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54D2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54D2#FFFFFF#000000##FFFFFF
##4E54D21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e54d2;
/* rgb */ color: rgb(78, 84, 210);
/* oklch */ color: oklch(51.6% 0.190 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d84e1',
    500: '#4e54d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e54d2;
$custom-light: #8d84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54d2",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 237.273,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.516,
    "c": 0.19046,
    "h": 275.4
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#4E54D2
secondary
#D9D7A3
accent
#DB45E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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