#4E3EB5#4E3EB5

#4E3EB5 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.180 H 282.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E3EB5
RGBrgb(78, 62, 181)
HSLhsl(248, 49%, 48%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(56.9%, 65.7%, 0%, 29%)
CIE-LABlab(34.80, 39.97, -60.98)
CIE-LCHlch(34.80, 72.91, 303.24°)
OKLaboklab(45.49% 0.0395 -0.1753)
OKLCHoklch(45.49% 0.18 282.7)
XYZxyz(13.2024, 8.4003, 44.6328)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB5 #A5B53E
analogous
#3E6AB5 #4E3EB5 #893EB5
triadic
#4E3EB5 #B54E3E #3EB54E
tetradic
#4E3EB5 #B53E6A #A5B53E #3EB589
square
#4E3EB5 #B53E6A #A5B53E #3EB589
split-complementary
#4E3EB5 #B5893E #6AB53E
monochromatic
#271F5A #3A2E87 #4E3EB5 #7366CA #9D93DA

Accessibility & contrast

On white

7.84
#4E3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EB5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB5#FFFFFF#000000##FFFFFF
##4E3EB51.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#185C74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3eb5;
/* rgb */ color: rgb(78, 62, 181);
/* oklch */ color: oklch(45.5% 0.180 282.7);
Tailwind
colors: {
  custom: {
    50: '#8a74cc',
    500: '#4e3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb5;
$custom-light: #8a74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb5",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 248.067,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.17973,
    "h": 282.7
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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