#4E3FA6#4E3FA6

#4E3FA6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.159 H 284.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA6
RGBrgb(78, 63, 166)
HSLhsl(249, 45%, 45%)
HSVhsv(249, 62%, 65%)
CMYKcmyk(53%, 62%, 0%, 34.9%)
CIE-LABlab(33.83, 34.64, -53.62)
CIE-LCHlch(33.83, 63.84, 302.87°)
OKLaboklab(44.41% 0.0398 -0.1537)
OKLCHoklch(44.41% 0.159 284.5)
XYZxyz(11.8003, 7.9273, 36.9773)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA6 #97A63F
analogous
#3F63A6 #4E3FA6 #823FA6
triadic
#4E3FA6 #A64E3F #3FA64E
tetradic
#4E3FA6 #A63F63 #97A63F #3FA682
square
#4E3FA6 #A63F63 #97A63F #3FA682
split-complementary
#4E3FA6 #A6823F #63A63F
monochromatic
#241D4D #392E7A #4E3FA6 #6E60C3 #968CD3

Accessibility & contrast

On white

8.12
#4E3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E3FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA6#FFFFFF#000000##FFFFFF
##4E3FA61.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#2B586C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3fa6;
/* rgb */ color: rgb(78, 63, 166);
/* oklch */ color: oklch(44.4% 0.159 284.5);
Tailwind
colors: {
  custom: {
    50: '#8775c1',
    500: '#4e3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa6;
$custom-light: #8775c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa6",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 248.738,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.1588,
    "h": 284.5
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#4E3FA6
secondary
#B6BE83
accent
#D553C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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