#4E54C1#4E54C1

#4E54C1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.168 H 276.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4E54C1
RGBrgb(78, 84, 193)
HSLhsl(237, 48%, 53%)
HSVhsv(237, 60%, 76%)
CMYKcmyk(59.6%, 56.5%, 0%, 24.3%)
CIE-LABlab(40.91, 30.39, -58.09)
CIE-LCHlch(40.91, 65.56, 297.62°)
OKLaboklab(50.27% 0.018 -0.1667)
OKLCHoklch(50.27% 0.168 276.2)
XYZxyz(15.9347, 11.8094, 51.8815)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54C1 #C1BB4E
analogous
#4E8DC1 #4E54C1 #824EC1
triadic
#4E54C1 #C14E54 #54C14E
tetradic
#4E54C1 #C14E8D #C1BB4E #4EC182
square
#4E54C1 #C14E8D #C1BB4E #4EC182
split-complementary
#4E54C1 #C1824E #8DC14E
monochromatic
#272A6E #363C9B #4E54C1 #7B80D1 #A9ACE1

Accessibility & contrast

On white

6.25
#4E54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E54C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54C1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54C1#FFFFFF#000000##FFFFFF
##4E54C11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e54c1;
/* rgb */ color: rgb(78, 84, 193);
/* oklch */ color: oklch(50.3% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a84d4',
    500: '#4e54c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e54c1;
$custom-light: #8a84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54c1",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 236.87,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.16769,
    "h": 276.2
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#4E54C1
secondary
#CECC9D
accent
#D150D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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