#4E3FB1#4E3FB1

#4E3FB1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.173 H 283.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E3FB1
RGBrgb(78, 63, 177)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 64%, 69%)
CMYKcmyk(55.9%, 64.4%, 0%, 30.6%)
CIE-LABlab(34.70, 38.11, -58.78)
CIE-LCHlch(34.70, 70.05, 302.96°)
OKLaboklab(45.31% 0.039 -0.1689)
OKLCHoklch(45.31% 0.173 283)
XYZxyz(12.8528, 8.3483, 42.5206)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB1 #A2B13F
analogous
#3F69B1 #4E3FB1 #873FB1
triadic
#4E3FB1 #B14E3F #3FB14E
tetradic
#4E3FB1 #B13F69 #A2B13F #3FB187
square
#4E3FB1 #B13F69 #A2B13F #3FB187
split-complementary
#4E3FB1 #B1873F #69B13F
monochromatic
#261F57 #3A2F84 #4E3FB1 #7265C8 #9B92D8

Accessibility & contrast

On white

7.87
#4E3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E3FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FB1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB1#FFFFFF#000000##FFFFFF
##4E3FB11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#1E5B72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3fb1;
/* rgb */ color: rgb(78, 63, 177);
/* oklch */ color: oklch(45.3% 0.173 283.0);
Tailwind
colors: {
  custom: {
    50: '#8975c9',
    500: '#4e3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb1;
$custom-light: #8975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb1",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 247.895,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.17331,
    "h": 283
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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