#4E38BE#4E38BE

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

Color values

HEX#4E38BE
RGBrgb(78, 56, 190)
HSLhsl(250, 54%, 48%)
HSVhsv(250, 71%, 75%)
CMYKcmyk(58.9%, 70.5%, 0%, 25.5%)
CIE-LABlab(34.32, 46.18, -67.07)
CIE-LCHlch(34.32, 81.43, 304.55°)
OKLaboklab(45.38% 0.0432 -0.1932)
OKLCHoklch(45.38% 0.198 282.6)
XYZxyz(13.8474, 8.1648, 49.5515)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38BE #A8BE38
analogous
#3865BE #4E38BE #9138BE
triadic
#4E38BE #BE4E38 #38BE4E
tetradic
#4E38BE #BE3865 #A8BE38 #38BE91
square
#4E38BE #BE3865 #A8BE38 #38BE91
split-complementary
#4E38BE #BE9138 #65BE38
monochromatic
#271C5F #3B2A8F #4E38BE #7562D1 #9E92DF

Accessibility & contrast

On white

7.98
#4E38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E38BE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38BE#FFFFFF#000000##FFFFFF
##4E38BE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#025C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e38be;
/* rgb */ color: rgb(78, 56, 190);
/* oklch */ color: oklch(45.4% 0.198 282.6);
Tailwind
colors: {
  custom: {
    50: '#8c71d3',
    500: '#4e38be',
    950: '#000000',
  },
}
SCSS
$custom: #4e38be;
$custom-light: #8c71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38be",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 249.851,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.19799,
    "h": 282.6
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#4E38BE
secondary
#BFCA88
accent
#DE4AC6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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