#4E3FA4#4E3FA4

#4E3FA4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.156 H 284.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA4
RGBrgb(78, 63, 164)
HSLhsl(249, 44%, 45%)
HSVhsv(249, 62%, 64%)
CMYKcmyk(52.4%, 61.6%, 0%, 35.7%)
CIE-LABlab(33.68, 34.02, -52.67)
CIE-LCHlch(33.68, 62.70, 302.86°)
OKLaboklab(44.25% 0.0399 -0.1509)
OKLCHoklch(44.25% 0.156 284.8)
XYZxyz(11.6182, 7.8544, 36.0186)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA4 #95A43F
analogous
#3F63A4 #4E3FA4 #813FA4
triadic
#4E3FA4 #A44E3F #3FA44E
tetradic
#4E3FA4 #A43F63 #95A43F #3FA481
square
#4E3FA4 #A43F63 #95A43F #3FA481
split-complementary
#4E3FA4 #A4813F #63A43F
monochromatic
#241D4C #392E78 #4E3FA4 #6D5FC1 #968BD2

Accessibility & contrast

On white

8.17
#4E3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA4#FFFFFF#000000##FFFFFF
##4E3FA41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#2C576B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3fa4;
/* rgb */ color: rgb(78, 63, 164);
/* oklch */ color: oklch(44.2% 0.156 284.8);
Tailwind
colors: {
  custom: {
    50: '#8775c0',
    500: '#4e3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa4;
$custom-light: #8775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa4",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 248.911,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.15612,
    "h": 284.8
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#4E3FA4
secondary
#B4BD82
accent
#D454C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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