#4E3EB3#4E3EB3

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

Color values

HEX#4E3EB3
RGBrgb(78, 62, 179)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(56.4%, 65.4%, 0%, 29.8%)
CIE-LABlab(34.64, 39.34, -60.06)
CIE-LCHlch(34.64, 71.80, 303.22°)
OKLaboklab(45.32% 0.0397 -0.1726)
OKLCHoklch(45.32% 0.177 282.9)
XYZxyz(12.9987, 8.3188, 43.5598)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB3 #A3B33E
analogous
#3E69B3 #4E3EB3 #893EB3
triadic
#4E3EB3 #B34E3E #3EB34E
tetradic
#4E3EB3 #B33E69 #A3B33E #3EB389
square
#4E3EB3 #B33E69 #A3B33E #3EB389
split-complementary
#4E3EB3 #B3893E #69B33E
monochromatic
#261F58 #3A2E86 #4E3EB3 #7265CA #9C92D9

Accessibility & contrast

On white

7.88
#4E3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3EB3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB3#FFFFFF#000000##FFFFFF
##4E3EB31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#1C5B73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3eb3;
/* rgb */ color: rgb(78, 62, 179);
/* oklch */ color: oklch(45.3% 0.177 282.9);
Tailwind
colors: {
  custom: {
    50: '#8974cb',
    500: '#4e3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb3;
$custom-light: #8974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb3",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 248.205,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.17716,
    "h": 282.9
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#4E3EB3
secondary
#BCC588
accent
#D850C5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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