#4E3FAF#4E3FAF

#4E3FAF is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.171 H 283.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4E3FAF
RGBrgb(78, 63, 175)
HSLhsl(248, 47%, 47%)
HSVhsv(248, 64%, 69%)
CMYKcmyk(55.4%, 64%, 0%, 31.4%)
CIE-LABlab(34.54, 37.48, -57.85)
CIE-LCHlch(34.54, 68.93, 302.94°)
OKLaboklab(45.14% 0.0392 -0.1661)
OKLCHoklch(45.14% 0.171 283.3)
XYZxyz(12.6549, 8.2691, 41.4784)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FAF #A0AF3F
analogous
#3F68AF #4E3FAF #863FAF
triadic
#4E3FAF #AF4E3F #3FAF4E
tetradic
#4E3FAF #AF3F68 #A0AF3F #3FAF86
square
#4E3FAF #AF3F68 #A0AF3F #3FAF86
split-complementary
#4E3FAF #AF863F #68AF3F
monochromatic
#261F55 #3A2F82 #4E3FAF #7164C7 #9A91D7

Accessibility & contrast

On white

7.91
#4E3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FAF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FAF#FFFFFF#000000##FFFFFF
##4E3FAF1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#215B71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3faf;
/* rgb */ color: rgb(78, 63, 175);
/* oklch */ color: oklch(45.1% 0.171 283.3);
Tailwind
colors: {
  custom: {
    50: '#8975c8',
    500: '#4e3faf',
    950: '#000000',
  },
}
SCSS
$custom: #4e3faf;
$custom-light: #8975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3faf",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 248.036,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.1707,
    "h": 283.3
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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