#4E3EA2#4E3EA2

#4E3EA2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.155 H 285.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA2
RGBrgb(78, 62, 162)
HSLhsl(250, 45%, 44%)
HSVhsv(250, 62%, 64%)
CMYKcmyk(51.9%, 61.7%, 0%, 36.5%)
CIE-LABlab(33.29, 34.00, -52.09)
CIE-LCHlch(33.29, 62.20, 303.13°)
OKLaboklab(43.92% 0.0411 -0.1492)
OKLCHoklch(43.92% 0.155 285.4)
XYZxyz(11.3842, 7.6730, 35.0566)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA2 #92A23E
analogous
#3E60A2 #4E3EA2 #803EA2
triadic
#4E3EA2 #A24E3E #3EA24E
tetradic
#4E3EA2 #A23E60 #92A23E #3EA280
square
#4E3EA2 #A23E60 #92A23E #3EA280
split-complementary
#4E3EA2 #A2803E #60A23E
monochromatic
#231C49 #392D76 #4E3EA2 #6C5CC1 #9489D2

Accessibility & contrast

On white

8.28
#4E3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EA2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA2#FFFFFF#000000##FFFFFF
##4E3EA21.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#2E566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ea2;
/* rgb */ color: rgb(78, 62, 162);
/* oklch */ color: oklch(43.9% 0.155 285.4);
Tailwind
colors: {
  custom: {
    50: '#8774be',
    500: '#4e3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea2;
$custom-light: #8774be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea2",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 249.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.15478,
    "h": 285.4
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#4E3EA2
secondary
#B3BC80
accent
#D453C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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