#4E54E2#4E54E2

#4E54E2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.211 H 274.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4E54E2
RGBrgb(78, 84, 226)
HSLhsl(238, 72%, 60%)
HSVhsv(238, 65%, 89%)
CMYKcmyk(65.5%, 62.8%, 0%, 11.4%)
CIE-LABlab(43.43, 41.39, -72.96)
CIE-LCHlch(43.43, 83.88, 299.57°)
OKLaboklab(52.92% 0.0172 -0.2104)
OKLCHoklch(52.92% 0.211 274.7)
XYZxyz(20.0351, 13.4496, 73.4770)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54E2 #E2DC4E
analogous
#4E9EE2 #4E54E2 #924EE2
triadic
#4E54E2 #E24E54 #54E24E
tetradic
#4E54E2 #E24E9E #E2DC4E #4EE292
square
#4E54E2 #E24E9E #E2DC4E #4EE292
split-complementary
#4E54E2 #E2924E #9EE24E
monochromatic
#1A1F9C #2229D1 #4E54E2 #8387EB #B7BAF3

Accessibility & contrast

On white

5.69
#4E54E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E54E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54E2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54E2#FFFFFF#000000##FFFFFF
##4E54E21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e54e2;
/* rgb */ color: rgb(78, 84, 226);
/* oklch */ color: oklch(52.9% 0.211 274.7);
Tailwind
colors: {
  custom: {
    50: '#9084ec',
    500: '#4e54e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e54e2;
$custom-light: #9084ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54e2",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 237.568,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52919,
    "c": 0.21111,
    "h": 274.7
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#4E54E2
secondary
#E3E0A9
accent
#E739EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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