#4E4C8F#4E4C8F

#4E4C8F is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.107 H 282.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4C8F
RGBrgb(78, 76, 143)
HSLhsl(242, 31%, 43%)
HSVhsv(242, 47%, 56%)
CMYKcmyk(45.5%, 46.9%, 0%, 43.9%)
CIE-LABlab(35.54, 19.14, -36.96)
CIE-LCHlch(35.54, 41.62, 297.38°)
OKLaboklab(45.18% 0.0233 -0.1047)
OKLCHoklch(45.18% 0.107 282.6)
XYZxyz(10.6828, 8.7713, 27.1114)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C8F #8D8F4C
analogous
#4C6B8F #4E4C8F #6F4C8F
triadic
#4E4C8F #8F4E4C #4C8F4E
tetradic
#4E4C8F #8F4C6B #8D8F4C #4C8F6F
square
#4E4C8F #8F4C6B #8D8F4C #4C8F6F
split-complementary
#4E4C8F #8F6F4C #6B8F4C
monochromatic
#22223F #383767 #4E4C8F #6B69AF #9291C4

Accessibility & contrast

On white

7.62
#4E4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C8F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C8F#FFFFFF#000000##FFFFFF
##4E4C8F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#395A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4c8f;
/* rgb */ color: rgb(78, 76, 143);
/* oklch */ color: oklch(45.2% 0.107 282.6);
Tailwind
colors: {
  custom: {
    50: '#837eb0',
    500: '#4e4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c8f;
$custom-light: #837eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c8f",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 241.791,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.10726,
    "h": 282.6
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#4E4C8F
secondary
#AFB186
accent
#C761C4
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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