#4E4E97#4E4E97

#4E4E97 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.1% C 0.116 H 280.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4E97
RGBrgb(78, 78, 151)
HSLhsl(240, 32%, 45%)
HSVhsv(240, 48%, 59%)
CMYKcmyk(48.3%, 48.3%, 0%, 40.8%)
CIE-LABlab(36.56, 20.39, -40.19)
CIE-LCHlch(36.56, 45.07, 296.90°)
OKLaboklab(46.11% 0.0218 -0.1141)
OKLCHoklch(46.11% 0.116 280.8)
XYZxyz(11.4505, 9.3023, 30.4643)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E97 #97974E
analogous
#4E7397 #4E4E97 #734E97
triadic
#4E4E97 #974E4E #4E974E
tetradic
#4E4E97 #974E73 #97974E #4E9773
square
#4E4E97 #974E73 #97974E #4E9773
split-complementary
#4E4E97 #97734E #73974E
monochromatic
#242446 #39396F #4E4E97 #6E6EB4 #9696C9

Accessibility & contrast

On white

7.34
#4E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E97
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E97#FFFFFF#000000##FFFFFF
##4E4E971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#345D6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4e97;
/* rgb */ color: rgb(78, 78, 151);
/* oklch */ color: oklch(46.1% 0.116 280.8);
Tailwind
colors: {
  custom: {
    50: '#847fb6',
    500: '#4e4e97',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e97;
$custom-light: #847fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e97",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.11622,
    "h": 280.8
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#4E4E97
secondary
#B6B68B
accent
#C860C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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