#4E4DB5#4E4DB5

#4E4DB5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.160 H 278.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4DB5
RGBrgb(78, 77, 181)
HSLhsl(241, 41%, 51%)
HSVhsv(241, 57%, 71%)
CMYKcmyk(56.9%, 57.5%, 0%, 29%)
CIE-LABlab(38.31, 30.80, -55.27)
CIE-LCHlch(38.31, 63.28, 299.13°)
OKLaboklab(48.06% 0.0249 -0.1585)
OKLCHoklch(48.06% 0.16 278.9)
XYZxyz(14.1336, 10.2627, 44.9432)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DB5 #B4B54D
analogous
#4D80B5 #4E4DB5 #824DB5
triadic
#4E4DB5 #B54E4D #4DB54E
tetradic
#4E4DB5 #B54D80 #B4B54D #4DB582
square
#4E4DB5 #B54D80 #B4B54D #4DB582
split-complementary
#4E4DB5 #B5824D #80B54D
monochromatic
#282860 #3B3A8B #4E4DB5 #7978C7 #A4A3D9

Accessibility & contrast

On white

6.88
#4E4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E4DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DB5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DB5#FFFFFF#000000##FFFFFF
##4E4DB51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#156579
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4db5;
/* rgb */ color: rgb(78, 77, 181);
/* oklch */ color: oklch(48.1% 0.160 278.9);
Tailwind
colors: {
  custom: {
    50: '#897fcc',
    500: '#4e4db5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4db5;
$custom-light: #897fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4db5",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 240.577,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.16044,
    "h": 278.9
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#4E4DB5
secondary
#C6C698
accent
#D157D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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