#4E46AE#4E46AE

#4E46AE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.160 H 281.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E46AE
RGBrgb(78, 70, 174)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 60%, 68%)
CMYKcmyk(55.2%, 59.8%, 0%, 31.8%)
CIE-LABlab(36.09, 32.89, -54.73)
CIE-LCHlch(36.09, 63.85, 301.00°)
OKLaboklab(46.26% 0.0322 -0.1569)
OKLCHoklch(46.26% 0.16 281.6)
XYZxyz(12.9697, 9.0552, 41.1006)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46AE #A6AE46
analogous
#4672AE #4E46AE #8246AE
triadic
#4E46AE #AE4E46 #46AE4E
tetradic
#4E46AE #AE4672 #A6AE46 #46AE82
square
#4E46AE #AE4672 #A6AE46 #46AE82
split-complementary
#4E46AE #AE8246 #72AE46
monochromatic
#272357 #3A3482 #4E46AE #746DC4 #9D99D6

Accessibility & contrast

On white

7.47
#4E46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46AE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46AE#FFFFFF#000000##FFFFFF
##4E46AE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#215F73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e46ae;
/* rgb */ color: rgb(78, 70, 174);
/* oklch */ color: oklch(46.3% 0.160 281.6);
Tailwind
colors: {
  custom: {
    50: '#887ac7',
    500: '#4e46ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e46ae;
$custom-light: #887ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46ae",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 244.615,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.16021,
    "h": 281.6
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#4E46AE
secondary
#BEC28E
accent
#D255C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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