#4E54C2#4E54C2

#4E54C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.169 H 276.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E54C2
RGBrgb(78, 84, 194)
HSLhsl(237, 49%, 53%)
HSVhsv(237, 60%, 76%)
CMYKcmyk(59.8%, 56.7%, 0%, 23.9%)
CIE-LABlab(40.98, 30.73, -58.55)
CIE-LCHlch(40.98, 66.13, 297.69°)
OKLaboklab(50.34% 0.018 -0.1681)
OKLCHoklch(50.34% 0.169 276.1)
XYZxyz(16.0467, 11.8542, 52.4710)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54C2 #C2BC4E
analogous
#4E8EC2 #4E54C2 #824EC2
triadic
#4E54C2 #C24E54 #54C24E
tetradic
#4E54C2 #C24E8E #C2BC4E #4EC282
square
#4E54C2 #C24E8E #C2BC4E #4EC282
split-complementary
#4E54C2 #C2824E #8EC24E
monochromatic
#262A6F #363B9D #4E54C2 #7C80D2 #A9ACE1

Accessibility & contrast

On white

6.23
#4E54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54C2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54C2#FFFFFF#000000##FFFFFF
##4E54C21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e54c2;
/* rgb */ color: rgb(78, 84, 194);
/* oklch */ color: oklch(50.3% 0.169 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a84d5',
    500: '#4e54c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e54c2;
$custom-light: #8a84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54c2",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 236.897,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.16906,
    "h": 276.1
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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