#4E3DB9#4E3DB9

#4E3DB9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.186 H 282.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4E3DB9
RGBrgb(78, 61, 185)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 67%, 73%)
CMYKcmyk(57.8%, 67%, 0%, 27.5%)
CIE-LABlab(34.92, 41.81, -63.15)
CIE-LCHlch(34.92, 75.73, 303.51°)
OKLaboklab(45.68% 0.0399 -0.1817)
OKLCHoklch(45.68% 0.186 282.4)
XYZxyz(13.5649, 8.4591, 46.8075)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DB9 #A8B93D
analogous
#3D6AB9 #4E3DB9 #8C3DB9
triadic
#4E3DB9 #B94E3D #3DB94E
tetradic
#4E3DB9 #B93D6A #A8B93D #3DB98C
square
#4E3DB9 #B93D6A #A8B93D #3DB98C
split-complementary
#4E3DB9 #B98C3D #6AB93D
monochromatic
#271F5D #3B2E8B #4E3DB9 #7566CD #9E95DC

Accessibility & contrast

On white

7.80
#4E3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E3DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DB9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DB9#FFFFFF#000000##FFFFFF
##4E3DB91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#105D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3db9;
/* rgb */ color: rgb(78, 61, 185);
/* oklch */ color: oklch(45.7% 0.186 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b74cf',
    500: '#4e3db9',
    950: '#000000',
  },
}
SCSS
$custom: #4e3db9;
$custom-light: #8b74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3db9",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 248.226,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.18603,
    "h": 282.4
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#4E3DB9
secondary
#BFC78B
accent
#DA4EC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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