#4E4D8B#4E4D8B

#4E4D8B is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.100 H 282.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4E4D8B
RGBrgb(78, 77, 139)
HSLhsl(241, 29%, 42%)
HSVhsv(241, 45%, 55%)
CMYKcmyk(43.9%, 44.6%, 0%, 45.5%)
CIE-LABlab(35.58, 17.24, -34.46)
CIE-LCHlch(35.58, 38.53, 296.58°)
OKLaboklab(45.14% 0.0214 -0.0974)
OKLCHoklch(45.14% 0.1 282.4)
XYZxyz(10.4546, 8.7911, 25.5671)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D8B #8A8B4D
analogous
#4D6B8B #4E4D8B #6D4D8B
triadic
#4E4D8B #8B4E4D #4D8B4E
tetradic
#4E4D8B #8B4D6B #8A8B4D #4D8B6D
square
#4E4D8B #8B4D6B #8A8B4D #4D8B6D
split-complementary
#4E4D8B #8B6D4D #6B8B4D
monochromatic
#22213C #383764 #4E4D8B #6A69AC #9191C2

Accessibility & contrast

On white

7.61
#4E4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D8B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D8B#FFFFFF#000000##FFFFFF
##4E4D8B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568D
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#3B5A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4d8b;
/* rgb */ color: rgb(78, 77, 139);
/* oklch */ color: oklch(45.1% 0.100 282.4);
Tailwind
colors: {
  custom: {
    50: '#837ead',
    500: '#4e4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d8b;
$custom-light: #837ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d8b",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 240.968,
    "s": 28.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.09968,
    "h": 282.4
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#4E4D8B
secondary
#AEAE86
accent
#C563C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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