#4E4C97#4E4C97

#4E4C97 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.7% C 0.119 H 281.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E4C97
RGBrgb(78, 76, 151)
HSLhsl(242, 33%, 45%)
HSVhsv(242, 50%, 59%)
CMYKcmyk(48.3%, 49.7%, 0%, 40.8%)
CIE-LABlab(36.03, 21.68, -41.04)
CIE-LCHlch(36.03, 46.41, 297.84°)
OKLaboklab(45.71% 0.0244 -0.1167)
OKLCHoklch(45.71% 0.119 281.8)
XYZxyz(11.3106, 9.0224, 30.4177)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C97 #95974C
analogous
#4C7097 #4E4C97 #744C97
triadic
#4E4C97 #974E4C #4C974E
tetradic
#4E4C97 #974C70 #95974C #4C9774
square
#4E4C97 #974C70 #95974C #4C9774
split-complementary
#4E4C97 #97744C #70974C
monochromatic
#242346 #39386E #4E4C97 #6D6BB5 #9694C9

Accessibility & contrast

On white

7.49
#4E4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C97
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C97#FFFFFF#000000##FFFFFF
##4E4C971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#345C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4c97;
/* rgb */ color: rgb(78, 76, 151);
/* oklch */ color: oklch(45.7% 0.119 281.8);
Tailwind
colors: {
  custom: {
    50: '#847eb6',
    500: '#4e4c97',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c97;
$custom-light: #847eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c97",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 241.6,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.11918,
    "h": 281.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#4E4C97
secondary
#B4B689
accent
#C95FC6
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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