#4E3FA5#4E3FA5

#4E3FA5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.157 H 284.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA5
RGBrgb(78, 63, 165)
HSLhsl(249, 45%, 45%)
HSVhsv(249, 62%, 65%)
CMYKcmyk(52.7%, 61.8%, 0%, 35.3%)
CIE-LABlab(33.75, 34.33, -53.15)
CIE-LCHlch(33.75, 63.27, 302.86°)
OKLaboklab(44.33% 0.0399 -0.1523)
OKLCHoklch(44.33% 0.157 284.7)
XYZxyz(11.7089, 7.8907, 36.4961)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA5 #96A53F
analogous
#3F63A5 #4E3FA5 #813FA5
triadic
#4E3FA5 #A54E3F #3FA54E
tetradic
#4E3FA5 #A53F63 #96A53F #3FA581
square
#4E3FA5 #A53F63 #96A53F #3FA581
split-complementary
#4E3FA5 #A5813F #63A53F
monochromatic
#241D4C #392E79 #4E3FA5 #6E5FC2 #968CD3

Accessibility & contrast

On white

8.15
#4E3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA5#FFFFFF#000000##FFFFFF
##4E3FA51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#2B576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3fa5;
/* rgb */ color: rgb(78, 63, 165);
/* oklch */ color: oklch(44.3% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#8775c0',
    500: '#4e3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa5;
$custom-light: #8775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa5",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 248.824,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.15746,
    "h": 284.7
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#4E3FA5
secondary
#B5BE82
accent
#D453C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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