#4E39BD#4E39BD

#4E39BD is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.4% C 0.196 H 282.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4E39BD
RGBrgb(78, 57, 189)
HSLhsl(250, 54%, 48%)
HSVhsv(250, 70%, 74%)
CMYKcmyk(58.7%, 69.8%, 0%, 25.9%)
CIE-LABlab(34.44, 45.32, -66.30)
CIE-LCHlch(34.44, 80.31, 304.36°)
OKLaboklab(45.44% 0.0426 -0.1909)
OKLCHoklch(45.44% 0.196 282.6)
XYZxyz(13.7875, 8.2192, 48.9942)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39BD #A8BD39
analogous
#3966BD #4E39BD #9039BD
triadic
#4E39BD #BD4E39 #39BD4E
tetradic
#4E39BD #BD3966 #A8BD39 #39BD90
square
#4E39BD #BD3966 #A8BD39 #39BD90
split-complementary
#4E39BD #BD9039 #66BD39
monochromatic
#271D5F #3B2B8E #4E39BD #7563D0 #9E92DE

Accessibility & contrast

On white

7.94
#4E39BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E39BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39BD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39BD#FFFFFF#000000##FFFFFF
##4E39BD1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#055C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e39bd;
/* rgb */ color: rgb(78, 57, 189);
/* oklch */ color: oklch(45.4% 0.196 282.6);
Tailwind
colors: {
  custom: {
    50: '#8c71d2',
    500: '#4e39bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e39bd;
$custom-light: #8c71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39bd",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 249.545,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.19565,
    "h": 282.6
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#4E39BD
secondary
#BFC989
accent
#DD4BC6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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