#4E3DAF#4E3DAF

#4E3DAF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.173 H 283.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4E3DAF
RGBrgb(78, 61, 175)
HSLhsl(249, 48%, 46%)
HSVhsv(249, 65%, 69%)
CMYKcmyk(55.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(34.09, 38.68, -58.58)
CIE-LCHlch(34.09, 70.19, 303.43°)
OKLaboklab(44.82% 0.0411 -0.1683)
OKLCHoklch(44.82% 0.173 283.7)
XYZxyz(12.5461, 8.0516, 41.4421)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DAF #9EAF3D
analogous
#3D65AF #4E3DAF #873DAF
triadic
#4E3DAF #AF4E3D #3DAF4E
tetradic
#4E3DAF #AF3D65 #9EAF3D #3DAF87
square
#4E3DAF #AF3D65 #9EAF3D #3DAF87
split-complementary
#4E3DAF #AF873D #65AF3D
monochromatic
#261D54 #3A2D82 #4E3DAF #7161C8 #9A8FD8

Accessibility & contrast

On white

8.04
#4E3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DAF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DAF#FFFFFF#000000##FFFFFF
##4E3DAF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#215970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3daf;
/* rgb */ color: rgb(78, 61, 175);
/* oklch */ color: oklch(44.8% 0.173 283.7);
Tailwind
colors: {
  custom: {
    50: '#8974c8',
    500: '#4e3daf',
    950: '#000000',
  },
}
SCSS
$custom: #4e3daf;
$custom-light: #8974c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3daf",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 248.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.17323,
    "h": 283.7
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#4E3DAF
secondary
#BAC385
accent
#D850C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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