#4E3EAF#4E3EAF

#4E3EAF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.172 H 283.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4E3EAF
RGBrgb(78, 62, 175)
HSLhsl(248, 48%, 46%)
HSVhsv(248, 65%, 69%)
CMYKcmyk(55.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(34.31, 38.08, -58.22)
CIE-LCHlch(34.31, 69.57, 303.19°)
OKLaboklab(44.98% 0.0401 -0.1672)
OKLCHoklch(44.98% 0.172 283.5)
XYZxyz(12.6000, 8.1593, 41.4601)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EAF #9FAF3E
analogous
#3E67AF #4E3EAF #873EAF
triadic
#4E3EAF #AF4E3E #3EAF4E
tetradic
#4E3EAF #AF3E67 #9FAF3E #3EAF87
square
#4E3EAF #AF3E67 #9FAF3E #3EAF87
split-complementary
#4E3EAF #AF873E #67AF3E
monochromatic
#261E55 #3A2E82 #4E3EAF #7163C8 #9A90D8

Accessibility & contrast

On white

7.98
#4E3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EAF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EAF#FFFFFF#000000##FFFFFF
##4E3EAF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#215A71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3eaf;
/* rgb */ color: rgb(78, 62, 175);
/* oklch */ color: oklch(45.0% 0.172 283.5);
Tailwind
colors: {
  custom: {
    50: '#8974c8',
    500: '#4e3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eaf;
$custom-light: #8974c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eaf",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 248.496,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.17198,
    "h": 283.5
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#4E3EAF
secondary
#BAC386
accent
#D751C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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