#4E3FB3#4E3FB3

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

Color values

HEX#4E3FB3
RGBrgb(78, 63, 179)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(56.4%, 64.8%, 0%, 29.8%)
CIE-LABlab(34.86, 38.74, -59.70)
CIE-LCHlch(34.86, 71.17, 302.98°)
OKLaboklab(45.48% 0.0388 -0.1716)
OKLCHoklch(45.48% 0.176 282.7)
XYZxyz(13.0536, 8.4286, 43.5781)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB3 #A4B33F
analogous
#3F6AB3 #4E3FB3 #883FB3
triadic
#4E3FB3 #B34E3F #3FB34E
tetradic
#4E3FB3 #B33F6A #A4B33F #3FB388
square
#4E3FB3 #B33F6A #A4B33F #3FB388
split-complementary
#4E3FB3 #B3883F #6AB33F
monochromatic
#271F58 #3A2F86 #4E3FB3 #7366C9 #9C93D9

Accessibility & contrast

On white

7.82
#4E3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3FB3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB3#FFFFFF#000000##FFFFFF
##4E3FB31.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#1B5C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3fb3;
/* rgb */ color: rgb(78, 63, 179);
/* oklch */ color: oklch(45.5% 0.176 282.7);
Tailwind
colors: {
  custom: {
    50: '#8975cb',
    500: '#4e3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb3;
$custom-light: #8975cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb3",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 247.759,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.17591,
    "h": 282.7
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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