#4E3FB7#4E3FB7

#4E3FB7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.181 H 282.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4E3FB7
RGBrgb(78, 63, 183)
HSLhsl(248, 49%, 48%)
HSVhsv(248, 66%, 72%)
CMYKcmyk(57.4%, 65.6%, 0%, 28.2%)
CIE-LABlab(35.19, 40.01, -61.53)
CIE-LCHlch(35.19, 73.39, 303.03°)
OKLaboklab(45.82% 0.0383 -0.177)
OKLCHoklch(45.82% 0.181 282.2)
XYZxyz(13.4640, 8.5927, 45.7397)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB7 #A8B73F
analogous
#3F6CB7 #4E3FB7 #8A3FB7
triadic
#4E3FB7 #B74E3F #3FB74E
tetradic
#4E3FB7 #B73F6C #A8B73F #3FB78A
square
#4E3FB7 #B73F6C #A8B73F #3FB78A
split-complementary
#4E3FB7 #B78A3F #6CB73F
monochromatic
#27205C #3B2F89 #4E3FB7 #7568CB #9E96DB

Accessibility & contrast

On white

7.72
#4E3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FB7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB7#FFFFFF#000000##FFFFFF
##4E3FB71.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#145D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e3fb7;
/* rgb */ color: rgb(78, 63, 183);
/* oklch */ color: oklch(45.8% 0.181 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a75ce',
    500: '#4e3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb7;
$custom-light: #8a75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb7",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 247.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.18107,
    "h": 282.2
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#4E3FB7
secondary
#BFC68B
accent
#D84FC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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