#4E3EB4#4E3EB4

#4E3EB4 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.178 H 282.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E3EB4
RGBrgb(78, 62, 180)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(56.7%, 65.6%, 0%, 29.4%)
CIE-LABlab(34.72, 39.65, -60.52)
CIE-LCHlch(34.72, 72.35, 303.23°)
OKLaboklab(45.4% 0.0396 -0.174)
OKLCHoklch(45.4% 0.178 282.8)
XYZxyz(13.1002, 8.3594, 44.0944)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB4 #A4B43E
analogous
#3E69B4 #4E3EB4 #893EB4
triadic
#4E3EB4 #B44E3E #3EB44E
tetradic
#4E3EB4 #B43E69 #A4B43E #3EB489
square
#4E3EB4 #B43E69 #A4B43E #3EB489
split-complementary
#4E3EB4 #B4893E #69B43E
monochromatic
#271F59 #3A2E86 #4E3EB4 #7365CA #9C93DA

Accessibility & contrast

On white

7.86
#4E3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EB4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB4#FFFFFF#000000##FFFFFF
##4E3EB41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#1A5C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3eb4;
/* rgb */ color: rgb(78, 62, 180);
/* oklch */ color: oklch(45.4% 0.178 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a74cb',
    500: '#4e3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb4;
$custom-light: #8a74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb4",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 248.136,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.17844,
    "h": 282.8
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#4E3EB4
secondary
#BDC589
accent
#D84FC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4E3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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