#4E39BB#4E39BB

#4E39BB is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.3% C 0.193 H 282.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4E39BB
RGBrgb(78, 57, 187)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 70%, 73%)
CMYKcmyk(58.3%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.26, 44.71, -65.41)
CIE-LCHlch(34.26, 79.23, 304.35°)
OKLaboklab(45.26% 0.043 -0.1883)
OKLCHoklch(45.26% 0.193 282.8)
XYZxyz(13.5719, 8.1329, 47.8587)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39BB #A6BB39
analogous
#3965BB #4E39BB #8F39BB
triadic
#4E39BB #BB4E39 #39BB4E
tetradic
#4E39BB #BB3965 #A6BB39 #39BB8F
square
#4E39BB #BB3965 #A6BB39 #39BB8F
split-complementary
#4E39BB #BB8F39 #65BB39
monochromatic
#271C5D #3A2B8C #4E39BB #7462CF #9D91DD

Accessibility & contrast

On white

7.99
#4E39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39BB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39BB#FFFFFF#000000##FFFFFF
##4E39BB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#0C5B76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e39bb;
/* rgb */ color: rgb(78, 57, 187);
/* oklch */ color: oklch(45.3% 0.193 282.8);
Tailwind
colors: {
  custom: {
    50: '#8b71d1',
    500: '#4e39bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e39bb;
$custom-light: #8b71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39bb",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 249.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.19318,
    "h": 282.8
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#4E39BB
secondary
#BEC887
accent
#DD4BC5
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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