#4E39BA#4E39BA

#4E39BA is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.2% C 0.192 H 283.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4E39BA
RGBrgb(78, 57, 186)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(58.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(34.17, 44.40, -64.97)
CIE-LCHlch(34.17, 78.69, 304.35°)
OKLaboklab(45.17% 0.0431 -0.187)
OKLCHoklch(45.17% 0.192 283)
XYZxyz(13.4652, 8.0903, 47.2969)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39BA #A5BA39
analogous
#3965BA #4E39BA #8E39BA
triadic
#4E39BA #BA4E39 #39BA4E
tetradic
#4E39BA #BA3965 #A5BA39 #39BA8E
square
#4E39BA #BA3965 #A5BA39 #39BA8E
split-complementary
#4E39BA #BA8E39 #65BA39
monochromatic
#271C5C #3A2B8B #4E39BA #7361CF #9D90DD

Accessibility & contrast

On white

8.02
#4E39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39BA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39BA#FFFFFF#000000##FFFFFF
##4E39BA1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#0F5B75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e39ba;
/* rgb */ color: rgb(78, 57, 186);
/* oklch */ color: oklch(45.2% 0.192 283.0);
Tailwind
colors: {
  custom: {
    50: '#8b71d0',
    500: '#4e39ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e39ba;
$custom-light: #8b71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39ba",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 249.767,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45165,
    "c": 0.19195,
    "h": 283
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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