#4E3FA2#4E3FA2

#4E3FA2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.153 H 285.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA2
RGBrgb(78, 63, 162)
HSLhsl(249, 44%, 44%)
HSVhsv(249, 61%, 64%)
CMYKcmyk(51.9%, 61.1%, 0%, 36.5%)
CIE-LABlab(33.53, 33.39, -51.71)
CIE-LCHlch(33.53, 61.55, 302.85°)
OKLaboklab(44.09% 0.04 -0.1481)
OKLCHoklch(44.09% 0.153 285.1)
XYZxyz(11.4390, 7.7828, 35.0749)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA2 #93A23F
analogous
#3F62A2 #4E3FA2 #803FA2
triadic
#4E3FA2 #A24E3F #3FA24E
tetradic
#4E3FA2 #A23F62 #93A23F #3FA280
square
#4E3FA2 #A23F62 #93A23F #3FA280
split-complementary
#4E3FA2 #A2803F #62A23F
monochromatic
#241D4A #392E76 #4E3FA2 #6D5EC0 #958AD1

Accessibility & contrast

On white

8.21
#4E3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA2#FFFFFF#000000##FFFFFF
##4E3FA21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#2E566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3fa2;
/* rgb */ color: rgb(78, 63, 162);
/* oklch */ color: oklch(44.1% 0.153 285.1);
Tailwind
colors: {
  custom: {
    50: '#8775be',
    500: '#4e3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa2;
$custom-light: #8775be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa2",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 249.091,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.15342,
    "h": 285.1
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#4E3FA2
secondary
#B3BC81
accent
#D454C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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