#4E3EB6#4E3EB6

#4E3EB6 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.181 H 282.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4E3EB6
RGBrgb(78, 62, 182)
HSLhsl(248, 49%, 48%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.1%, 65.9%, 0%, 28.6%)
CIE-LABlab(34.89, 40.28, -61.43)
CIE-LCHlch(34.89, 73.46, 303.25°)
OKLaboklab(45.58% 0.0394 -0.1767)
OKLCHoklch(45.58% 0.181 282.6)
XYZxyz(13.3054, 8.4415, 45.1752)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB6 #A6B63E
analogous
#3E6AB6 #4E3EB6 #8A3EB6
triadic
#4E3EB6 #B64E3E #3EB64E
tetradic
#4E3EB6 #B63E6A #A6B63E #3EB68A
square
#4E3EB6 #B63E6A #A6B63E #3EB68A
split-complementary
#4E3EB6 #B68A3E #6AB63E
monochromatic
#271F5B #3A2E88 #4E3EB6 #7466CB #9D94DB

Accessibility & contrast

On white

7.81
#4E3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E3EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EB6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB6#FFFFFF#000000##FFFFFF
##4E3EB61.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#175C74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3eb6;
/* rgb */ color: rgb(78, 62, 182);
/* oklch */ color: oklch(45.6% 0.181 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a74cd',
    500: '#4e3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb6;
$custom-light: #8a74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb6",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 248,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.18101,
    "h": 282.6
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#4E3EB6
secondary
#BEC68A
accent
#D94FC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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