#4E3EB2#4E3EB2

#4E3EB2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.176 H 283.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4E3EB2
RGBrgb(78, 62, 178)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(56.2%, 65.2%, 0%, 30.2%)
CIE-LABlab(34.56, 39.02, -59.60)
CIE-LCHlch(34.56, 71.24, 303.21°)
OKLaboklab(45.23% 0.0398 -0.1713)
OKLCHoklch(45.23% 0.176 283.1)
XYZxyz(12.8979, 8.2785, 43.0291)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB2 #A2B23E
analogous
#3E68B2 #4E3EB2 #883EB2
triadic
#4E3EB2 #B24E3E #3EB24E
tetradic
#4E3EB2 #B23E68 #A2B23E #3EB288
square
#4E3EB2 #B23E68 #A2B23E #3EB288
split-complementary
#4E3EB2 #B2883E #68B23E
monochromatic
#261E57 #3A2E85 #4E3EB2 #7264C9 #9B92D9

Accessibility & contrast

On white

7.91
#4E3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EB2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB2#FFFFFF#000000##FFFFFF
##4E3EB21.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#1D5B72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3eb2;
/* rgb */ color: rgb(78, 62, 178);
/* oklch */ color: oklch(45.2% 0.176 283.1);
Tailwind
colors: {
  custom: {
    50: '#8974ca',
    500: '#4e3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb2;
$custom-light: #8974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb2",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 248.276,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.17587,
    "h": 283.1
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#4E3EB2
secondary
#BCC488
accent
#D850C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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