#4E4DBA#4E4DBA

#4E4DBA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.167 H 278.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E4DBA
RGBrgb(78, 77, 186)
HSLhsl(241, 44%, 52%)
HSVhsv(241, 59%, 73%)
CMYKcmyk(58.1%, 58.6%, 0%, 27.1%)
CIE-LABlab(38.68, 32.45, -57.62)
CIE-LCHlch(38.68, 66.13, 299.38°)
OKLaboklab(48.45% 0.0249 -0.1654)
OKLCHoklch(48.45% 0.167 278.5)
XYZxyz(14.6559, 10.4716, 47.6938)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DBA #B9BA4D
analogous
#4D83BA #4E4DBA #854DBA
triadic
#4E4DBA #BA4E4D #4DBA4E
tetradic
#4E4DBA #BA4D83 #B9BA4D #4DBA85
square
#4E4DBA #BA4D83 #B9BA4D #4DBA85
split-complementary
#4E4DBA #BA854D #83BA4D
monochromatic
#282765 #393891 #4E4DBA #7A79CB #A6A5DC

Accessibility & contrast

On white

6.79
#4E4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E4DBA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DBA#FFFFFF#000000##FFFFFF
##4E4DBA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#07677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4dba;
/* rgb */ color: rgb(78, 77, 186);
/* oklch */ color: oklch(48.4% 0.167 278.5);
Tailwind
colors: {
  custom: {
    50: '#8a7fcf',
    500: '#4e4dba',
    950: '#000000',
  },
}
SCSS
$custom: #4e4dba;
$custom-light: #8a7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4dba",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 240.55,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.16727,
    "h": 278.5
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#4E4DBA
secondary
#C9C999
accent
#D454D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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