#4E38BF#4E38BF

#4E38BF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.5% C 0.199 H 282.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4E38BF
RGBrgb(78, 56, 191)
HSLhsl(250, 55%, 48%)
HSVhsv(250, 71%, 75%)
CMYKcmyk(59.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(34.41, 46.49, -67.51)
CIE-LCHlch(34.41, 81.97, 304.55°)
OKLaboklab(45.48% 0.043 -0.1945)
OKLCHoklch(45.48% 0.199 282.5)
XYZxyz(13.9571, 8.2087, 50.1291)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38BF #A9BF38
analogous
#3865BF #4E38BF #9138BF
triadic
#4E38BF #BF4E38 #38BF4E
tetradic
#4E38BF #BF3865 #A9BF38 #38BF91
square
#4E38BF #BF3865 #A9BF38 #38BF91
split-complementary
#4E38BF #BF9138 #65BF38
monochromatic
#271C60 #3B2A90 #4E38BF #7563D1 #9F92DF

Accessibility & contrast

On white

7.95
#4E38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E38BF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38BF#FFFFFF#000000##FFFFFF
##4E38BF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e38bf;
/* rgb */ color: rgb(78, 56, 191);
/* oklch */ color: oklch(45.5% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c71d3',
    500: '#4e38bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e38bf;
$custom-light: #8c71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38bf",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 249.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.1992,
    "h": 282.5
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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