#4E4DB9#4E4DB9

#4E4DB9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.166 H 278.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4E4DB9
RGBrgb(78, 77, 185)
HSLhsl(241, 44%, 51%)
HSVhsv(241, 58%, 73%)
CMYKcmyk(57.8%, 58.4%, 0%, 27.5%)
CIE-LABlab(38.60, 32.12, -57.15)
CIE-LCHlch(38.60, 65.56, 299.33°)
OKLaboklab(48.37% 0.0249 -0.164)
OKLCHoklch(48.37% 0.166 278.6)
XYZxyz(14.5499, 10.4292, 47.1359)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DB9 #B8B94D
analogous
#4D82B9 #4E4DB9 #844DB9
triadic
#4E4DB9 #B94E4D #4DB94E
tetradic
#4E4DB9 #B94D82 #B8B94D #4DB984
square
#4E4DB9 #B94D82 #B8B94D #4DB984
split-complementary
#4E4DB9 #B9844D #82B94D
monochromatic
#282764 #393990 #4E4DB9 #7A79CA #A5A5DC

Accessibility & contrast

On white

6.80
#4E4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E4DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DB9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DB9#FFFFFF#000000##FFFFFF
##4E4DB91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#0B677B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4db9;
/* rgb */ color: rgb(78, 77, 185);
/* oklch */ color: oklch(48.4% 0.166 278.6);
Tailwind
colors: {
  custom: {
    50: '#897fcf',
    500: '#4e4db9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4db9;
$custom-light: #897fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4db9",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 240.556,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.1659,
    "h": 278.6
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#4E4DB9
secondary
#C8C999
accent
#D355D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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