#4E39B9#4E39B9

#4E39B9 is a mid, vivid blue. Relative luminance 0.080; OKLCH L 45.1% C 0.191 H 283.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E39B9
RGBrgb(78, 57, 185)
HSLhsl(250, 53%, 47%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57.8%, 69.2%, 0%, 27.5%)
CIE-LABlab(34.08, 44.09, -64.52)
CIE-LCHlch(34.08, 78.15, 304.35°)
OKLaboklab(45.08% 0.0433 -0.1857)
OKLCHoklch(45.08% 0.191 283.1)
XYZxyz(13.3593, 8.0479, 46.7390)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39B9 #A4B939
analogous
#3964B9 #4E39B9 #8E39B9
triadic
#4E39B9 #B94E39 #39B94E
tetradic
#4E39B9 #B93964 #A4B939 #39B98E
square
#4E39B9 #B93964 #A4B939 #39B98E
split-complementary
#4E39B9 #B98E39 #64B939
monochromatic
#271C5B #3A2B8A #4E39B9 #7361CE #9C90DD

Accessibility & contrast

On white

8.05
#4E39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E39B9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39B9#FFFFFF#000000##FFFFFF
##4E39B91.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#115B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e39b9;
/* rgb */ color: rgb(78, 57, 185);
/* oklch */ color: oklch(45.1% 0.191 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b71cf',
    500: '#4e39b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e39b9;
$custom-light: #8b71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39b9",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 249.844,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.19071,
    "h": 283.1
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#4E39B9
secondary
#BDC886
accent
#DC4BC5
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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