#4E3FB0#4E3FB0

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

Color values

HEX#4E3FB0
RGBrgb(78, 63, 176)
HSLhsl(248, 47%, 47%)
HSVhsv(248, 64%, 69%)
CMYKcmyk(55.7%, 64.2%, 0%, 31%)
CIE-LABlab(34.62, 37.80, -58.31)
CIE-LCHlch(34.62, 69.49, 302.95°)
OKLaboklab(45.23% 0.0391 -0.1675)
OKLCHoklch(45.23% 0.172 283.1)
XYZxyz(12.7535, 8.3085, 41.9976)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB0 #A1B03F
analogous
#3F68B0 #4E3FB0 #873FB0
triadic
#4E3FB0 #B04E3F #3FB04E
tetradic
#4E3FB0 #B03F68 #A1B03F #3FB087
square
#4E3FB0 #B03F68 #A1B03F #3FB087
split-complementary
#4E3FB0 #B0873F #68B03F
monochromatic
#261F56 #3A2F83 #4E3FB0 #7265C8 #9B92D8

Accessibility & contrast

On white

7.89
#4E3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3FB0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB0#FFFFFF#000000##FFFFFF
##4E3FB01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#205B71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3fb0;
/* rgb */ color: rgb(78, 63, 176);
/* oklch */ color: oklch(45.2% 0.172 283.1);
Tailwind
colors: {
  custom: {
    50: '#8975c8',
    500: '#4e3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb0;
$custom-light: #8975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb0",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 247.965,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.172,
    "h": 283.1
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#4E3FB0
secondary
#BBC388
accent
#D751C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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