#4E3FB4#4E3FB4

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

Color values

HEX#4E3FB4
RGBrgb(78, 63, 180)
HSLhsl(248, 48%, 48%)
HSVhsv(248, 65%, 71%)
CMYKcmyk(56.7%, 65%, 0%, 29.4%)
CIE-LABlab(34.94, 39.06, -60.16)
CIE-LCHlch(34.94, 71.73, 302.99°)
OKLaboklab(45.56% 0.0387 -0.1729)
OKLCHoklch(45.56% 0.177 282.6)
XYZxyz(13.1551, 8.4692, 44.1127)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB4 #A5B43F
analogous
#3F6BB4 #4E3FB4 #883FB4
triadic
#4E3FB4 #B44E3F #3FB44E
tetradic
#4E3FB4 #B43F6B #A5B43F #3FB488
square
#4E3FB4 #B43F6B #A5B43F #3FB488
split-complementary
#4E3FB4 #B4883F #6BB43F
monochromatic
#271F59 #3A2F87 #4E3FB4 #7367CA #9D94DA

Accessibility & contrast

On white

7.80
#4E3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3FB4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB4#FFFFFF#000000##FFFFFF
##4E3FB41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3fb4;
/* rgb */ color: rgb(78, 63, 180);
/* oklch */ color: oklch(45.6% 0.177 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a75cb',
    500: '#4e3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb4;
$custom-light: #8a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb4",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 247.692,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.1772,
    "h": 282.6
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#4E3FB4
secondary
#BDC58A
accent
#D850C6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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