#4E46B1#4E46B1

#4E46B1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.164 H 281.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4E46B1
RGBrgb(78, 70, 177)
HSLhsl(244, 43%, 48%)
HSVhsv(244, 60%, 69%)
CMYKcmyk(55.9%, 60.5%, 0%, 30.6%)
CIE-LABlab(36.32, 33.86, -56.14)
CIE-LCHlch(36.32, 65.56, 301.09°)
OKLaboklab(46.5% 0.0321 -0.1611)
OKLCHoklch(46.5% 0.164 281.3)
XYZxyz(13.2654, 9.1735, 42.6581)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B1 #A9B146
analogous
#4673B1 #4E46B1 #8346B1
triadic
#4E46B1 #B14E46 #46B14E
tetradic
#4E46B1 #B14673 #A9B146 #46B183
square
#4E46B1 #B14673 #A9B146 #46B183
split-complementary
#4E46B1 #B18346 #73B146
monochromatic
#272359 #3B3585 #4E46B1 #756EC6 #9F9AD7

Accessibility & contrast

On white

7.41
#4E46B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E46B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46B1
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B1#FFFFFF#000000##FFFFFF
##4E46B11.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#1D6075
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e46b1;
/* rgb */ color: rgb(78, 70, 177);
/* oklch */ color: oklch(46.5% 0.164 281.3);
Tailwind
colors: {
  custom: {
    50: '#897ac9',
    500: '#4e46b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b1;
$custom-light: #897ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b1",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 244.486,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.16427,
    "h": 281.3
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#4E46B1
secondary
#BFC38F
accent
#D355CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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