#4E4D8D#4E4D8D

#4E4D8D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.3% C 0.103 H 282.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4D8D
RGBrgb(78, 77, 141)
HSLhsl(241, 29%, 43%)
HSVhsv(241, 45%, 55%)
CMYKcmyk(44.7%, 45.4%, 0%, 44.7%)
CIE-LABlab(35.69, 17.87, -35.50)
CIE-LCHlch(35.69, 39.74, 296.72°)
OKLaboklab(45.26% 0.0217 -0.1004)
OKLCHoklch(45.26% 0.103 282.2)
XYZxyz(10.6021, 8.8501, 26.3437)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D8D #8C8D4D
analogous
#4D6C8D #4E4D8D #6E4D8D
triadic
#4E4D8D #8D4E4D #4D8D4E
tetradic
#4E4D8D #8D4D6C #8C8D4D #4D8D6E
square
#4E4D8D #8D4D6C #8C8D4D #4D8D6E
split-complementary
#4E4D8D #8D6E4D #6C8D4D
monochromatic
#22223E #383765 #4E4D8D #6B6AAD #9291C3

Accessibility & contrast

On white

7.58
#4E4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D8D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D8D#FFFFFF#000000##FFFFFF
##4E4D8D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#3A5A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4d8d;
/* rgb */ color: rgb(78, 77, 141);
/* oklch */ color: oklch(45.3% 0.103 282.2);
Tailwind
colors: {
  custom: {
    50: '#837eaf',
    500: '#4e4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d8d;
$custom-light: #837eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d8d",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 240.938,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4526,
    "c": 0.10272,
    "h": 282.2
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#4E4D8D
secondary
#AFAF86
accent
#C662C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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