#4E4E93#4E4E93

#4E4E93 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.110 H 281.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4E93
RGBrgb(78, 78, 147)
HSLhsl(240, 31%, 44%)
HSVhsv(240, 47%, 58%)
CMYKcmyk(46.9%, 46.9%, 0%, 42.4%)
CIE-LABlab(36.32, 19.12, -38.15)
CIE-LCHlch(36.32, 42.68, 296.61°)
OKLaboklab(45.85% 0.0213 -0.1082)
OKLCHoklch(45.85% 0.11 281.1)
XYZxyz(11.1312, 9.1745, 28.7824)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E93 #93934E
analogous
#4E7193 #4E4E93 #714E93
triadic
#4E4E93 #934E4E #4E934E
tetradic
#4E4E93 #934E71 #93934E #4E9371
square
#4E4E93 #934E71 #93934E #4E9371
split-complementary
#4E4E93 #93714E #71934E
monochromatic
#242443 #39396B #4E4E93 #6D6DB1 #9595C7

Accessibility & contrast

On white

7.41
#4E4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E93
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E93#FFFFFF#000000##FFFFFF
##4E4E931.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#2E5391
Tritanopia (blue-blind)
#375C69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4e93;
/* rgb */ color: rgb(78, 78, 147);
/* oklch */ color: oklch(45.8% 0.110 281.1);
Tailwind
colors: {
  custom: {
    50: '#847fb3',
    500: '#4e4e93',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e93;
$custom-light: #847fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e93",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.11025,
    "h": 281.1
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#4E4E93
secondary
#B3B38A
accent
#C761C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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