#4E3FAA#4E3FAA

#4E3FAA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.164 H 283.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E3FAA
RGBrgb(78, 63, 170)
HSLhsl(248, 46%, 46%)
HSVhsv(248, 63%, 67%)
CMYKcmyk(54.1%, 62.9%, 0%, 33.3%)
CIE-LABlab(34.14, 35.91, -55.51)
CIE-LCHlch(34.14, 66.11, 302.89°)
OKLaboklab(44.73% 0.0396 -0.1593)
OKLCHoklch(44.73% 0.164 283.9)
XYZxyz(12.1729, 8.0763, 38.9399)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FAA #9BAA3F
analogous
#3F65AA #4E3FAA #833FAA
triadic
#4E3FAA #AA4E3F #3FAA4E
tetradic
#4E3FAA #AA3F65 #9BAA3F #3FAA83
square
#4E3FAA #AA3F65 #9BAA3F #3FAA83
split-complementary
#4E3FAA #AA833F #65AA3F
monochromatic
#251E51 #3A2E7D #4E3FAA #6F62C5 #988ED5

Accessibility & contrast

On white

8.03
#4E3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FAA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FAA#FFFFFF#000000##FFFFFF
##4E3FAA1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#27596E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3faa;
/* rgb */ color: rgb(78, 63, 170);
/* oklch */ color: oklch(44.7% 0.164 283.9);
Tailwind
colors: {
  custom: {
    50: '#8875c4',
    500: '#4e3faa',
    950: '#000000',
  },
}
SCSS
$custom: #4e3faa;
$custom-light: #8875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3faa",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 248.411,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.16412,
    "h": 283.9
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#4E3FAA
secondary
#B8C085
accent
#D652C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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