#4E46AD#4E46AD

#4E46AD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.159 H 281.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E46AD
RGBrgb(78, 70, 173)
HSLhsl(245, 42%, 48%)
HSVhsv(245, 60%, 68%)
CMYKcmyk(54.9%, 59.5%, 0%, 32.2%)
CIE-LABlab(36.02, 32.56, -54.26)
CIE-LCHlch(36.02, 63.28, 300.97°)
OKLaboklab(46.18% 0.0322 -0.1556)
OKLCHoklch(46.18% 0.159 281.7)
XYZxyz(12.8725, 9.0164, 40.5891)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46AD #A5AD46
analogous
#4672AD #4E46AD #8146AD
triadic
#4E46AD #AD4E46 #46AD4E
tetradic
#4E46AD #AD4672 #A5AD46 #46AD81
square
#4E46AD #AD4672 #A5AD46 #46AD81
split-complementary
#4E46AD #AD8146 #72AD46
monochromatic
#272356 #3A3481 #4E46AD #736CC4 #9D98D5

Accessibility & contrast

On white

7.49
#4E46AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E46AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46AD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46AD#FFFFFF#000000##FFFFFF
##4E46AD1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#225E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e46ad;
/* rgb */ color: rgb(78, 70, 173);
/* oklch */ color: oklch(46.2% 0.159 281.7);
Tailwind
colors: {
  custom: {
    50: '#887ac6',
    500: '#4e46ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e46ad;
$custom-light: #887ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46ad",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 244.66,
    "s": 42.387,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.15886,
    "h": 281.7
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#4E46AD
secondary
#BDC18D
accent
#D256C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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