#4E4D8E#4E4D8E

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

Color values

HEX#4E4D8E
RGBrgb(78, 77, 142)
HSLhsl(241, 30%, 43%)
HSVhsv(241, 46%, 56%)
CMYKcmyk(45.1%, 45.8%, 0%, 44.3%)
CIE-LABlab(35.75, 18.18, -36.01)
CIE-LCHlch(35.75, 40.34, 296.79°)
OKLaboklab(45.32% 0.0219 -0.1019)
OKLCHoklch(45.32% 0.104 282.1)
XYZxyz(10.6768, 8.8800, 26.7374)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D8E #8D8E4D
analogous
#4D6C8E #4E4D8E #6E4D8E
triadic
#4E4D8E #8E4E4D #4D8E4E
tetradic
#4E4D8E #8E4D6C #8D8E4D #4D8E6E
square
#4E4D8E #8E4D6C #8D8E4D #4D8E6E
split-complementary
#4E4D8E #8E6E4D #6C8E4D
monochromatic
#22223F #383766 #4E4D8E #6B6AAE #9292C4

Accessibility & contrast

On white

7.56
#4E4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D8E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D8E#FFFFFF#000000##FFFFFF
##4E4D8E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#395A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4d8e;
/* rgb */ color: rgb(78, 77, 142);
/* oklch */ color: oklch(45.3% 0.104 282.1);
Tailwind
colors: {
  custom: {
    50: '#837eaf',
    500: '#4e4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d8e;
$custom-light: #837eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d8e",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 240.923,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.10423,
    "h": 282.1
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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