#4E39BC#4E39BC

#4E39BC is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.194 H 282.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4E39BC
RGBrgb(78, 57, 188)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 70%, 74%)
CMYKcmyk(58.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(34.35, 45.02, -65.86)
CIE-LCHlch(34.35, 79.77, 304.35°)
OKLaboklab(45.35% 0.0428 -0.1897)
OKLCHoklch(45.35% 0.194 282.7)
XYZxyz(13.6793, 8.1759, 48.4245)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39BC #A7BC39
analogous
#3966BC #4E39BC #8F39BC
triadic
#4E39BC #BC4E39 #39BC4E
tetradic
#4E39BC #BC3966 #A7BC39 #39BC8F
square
#4E39BC #BC3966 #A7BC39 #39BC8F
split-complementary
#4E39BC #BC8F39 #66BC39
monochromatic
#271D5E #3B2B8D #4E39BC #7463D0 #9E92DE

Accessibility & contrast

On white

7.97
#4E39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E39BC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39BC#FFFFFF#000000##FFFFFF
##4E39BC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#095C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e39bc;
/* rgb */ color: rgb(78, 57, 188);
/* oklch */ color: oklch(45.3% 0.194 282.7);
Tailwind
colors: {
  custom: {
    50: '#8b71d1',
    500: '#4e39bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e39bc;
$custom-light: #8b71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39bc",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 249.618,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.19442,
    "h": 282.7
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#4E39BC
secondary
#BEC988
accent
#DD4BC5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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