#4E3FA0#4E3FA0

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

Color values

HEX#4E3FA0
RGBrgb(78, 63, 160)
HSLhsl(249, 43%, 44%)
HSVhsv(249, 61%, 63%)
CMYKcmyk(51.2%, 60.6%, 0%, 37.3%)
CIE-LABlab(33.38, 32.76, -50.75)
CIE-LCHlch(33.38, 60.40, 302.84°)
OKLaboklab(43.93% 0.0401 -0.1453)
OKLCHoklch(43.93% 0.151 285.4)
XYZxyz(11.2627, 7.7122, 34.1460)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA0 #91A03F
analogous
#3F60A0 #4E3FA0 #7E3FA0
triadic
#4E3FA0 #A04E3F #3FA04E
tetradic
#4E3FA0 #A03F60 #91A03F #3FA07E
square
#4E3FA0 #A03F60 #91A03F #3FA07E
split-complementary
#4E3FA0 #A07E3F #60A03F
monochromatic
#231C48 #392E74 #4E3FA0 #6C5DBF #9489D0

Accessibility & contrast

On white

8.26
#4E3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA0#FFFFFF#000000##FFFFFF
##4E3FA01.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#305669
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3fa0;
/* rgb */ color: rgb(78, 63, 160);
/* oklch */ color: oklch(43.9% 0.151 285.4);
Tailwind
colors: {
  custom: {
    50: '#8675bd',
    500: '#4e3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa0;
$custom-light: #8675bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa0",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 249.278,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.15071,
    "h": 285.4
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#4E3FA0
secondary
#B2BB80
accent
#D355C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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