#4E4DB7#4E4DB7

#4E4DB7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.163 H 278.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4DB7
RGBrgb(78, 77, 183)
HSLhsl(241, 42%, 51%)
HSVhsv(241, 58%, 72%)
CMYKcmyk(57.4%, 57.9%, 0%, 28.2%)
CIE-LABlab(38.46, 31.46, -56.22)
CIE-LCHlch(38.46, 64.42, 299.23°)
OKLaboklab(48.21% 0.0249 -0.1613)
OKLCHoklch(48.21% 0.163 278.8)
XYZxyz(14.3403, 10.3454, 46.0318)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DB7 #B6B74D
analogous
#4D81B7 #4E4DB7 #834DB7
triadic
#4E4DB7 #B74E4D #4DB74E
tetradic
#4E4DB7 #B74D81 #B6B74D #4DB783
square
#4E4DB7 #B74D81 #B6B74D #4DB783
split-complementary
#4E4DB7 #B7834D #81B74D
monochromatic
#282862 #3A398E #4E4DB7 #7979C9 #A5A4DA

Accessibility & contrast

On white

6.84
#4E4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E4DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DB7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DB7#FFFFFF#000000##FFFFFF
##4E4DB71.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#10667A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4db7;
/* rgb */ color: rgb(78, 77, 183);
/* oklch */ color: oklch(48.2% 0.163 278.8);
Tailwind
colors: {
  custom: {
    50: '#897fcd',
    500: '#4e4db7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4db7;
$custom-light: #897fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4db7",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 240.566,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.16319,
    "h": 278.8
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#4E4DB7
secondary
#C7C798
accent
#D256D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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