#4E3DB6#4E3DB6

#4E3DB6 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.182 H 282.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E3DB6
RGBrgb(78, 61, 182)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.1%, 66.5%, 0%, 28.6%)
CIE-LABlab(34.67, 40.87, -61.79)
CIE-LCHlch(34.67, 74.08, 303.48°)
OKLaboklab(45.42% 0.0403 -0.1777)
OKLCHoklch(45.42% 0.182 282.8)
XYZxyz(13.2515, 8.3338, 45.1572)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DB6 #A5B63D
analogous
#3D68B6 #4E3DB6 #8B3DB6
triadic
#4E3DB6 #B64E3D #3DB64E
tetradic
#4E3DB6 #B63D68 #A5B63D #3DB68B
square
#4E3DB6 #B63D68 #A5B63D #3DB68B
split-complementary
#4E3DB6 #B68B3D #68B63D
monochromatic
#271E5A #3A2E88 #4E3DB6 #7365CB #9D93DB

Accessibility & contrast

On white

7.87
#4E3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DB6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DB6#FFFFFF#000000##FFFFFF
##4E3DB61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#175C74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3db6;
/* rgb */ color: rgb(78, 61, 182);
/* oklch */ color: oklch(45.4% 0.182 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a74cd',
    500: '#4e3db6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3db6;
$custom-light: #8a74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3db6",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 248.43,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.18222,
    "h": 282.8
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#4E3DB6
secondary
#BDC689
accent
#D94EC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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