#4E41AA#4E41AA

#4E41AA is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.161 H 283.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4E41AA
RGBrgb(78, 65, 170)
HSLhsl(247, 45%, 46%)
HSVhsv(247, 62%, 67%)
CMYKcmyk(54.1%, 61.8%, 0%, 33.3%)
CIE-LABlab(34.60, 34.69, -54.76)
CIE-LCHlch(34.60, 64.82, 302.35°)
OKLaboklab(45.07% 0.0375 -0.1571)
OKLCHoklch(45.07% 0.161 283.4)
XYZxyz(12.2857, 8.3019, 38.9775)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41AA #9DAA41
analogous
#4168AA #4E41AA #8241AA
triadic
#4E41AA #AA4E41 #41AA4E
tetradic
#4E41AA #AA4168 #9DAA41 #41AA82
square
#4E41AA #AA4168 #9DAA41 #41AA82
split-complementary
#4E41AA #AA8241 #68AA41
monochromatic
#251F51 #3A307E #4E41AA #7064C4 #9991D5

Accessibility & contrast

On white

7.89
#4E41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41AA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41AA#FFFFFF#000000##FFFFFF
##4E41AA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#265A6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e41aa;
/* rgb */ color: rgb(78, 65, 170);
/* oklch */ color: oklch(45.1% 0.161 283.4);
Tailwind
colors: {
  custom: {
    50: '#8876c4',
    500: '#4e41aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e41aa;
$custom-light: #8876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41aa",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 247.429,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.16148,
    "h": 283.4
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#4E41AA
secondary
#B9C087
accent
#D453C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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