#4E46B0#4E46B0

#4E46B0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.163 H 281.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E46B0
RGBrgb(78, 70, 176)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 60%, 69%)
CMYKcmyk(55.7%, 60.2%, 0%, 31%)
CIE-LABlab(36.24, 33.53, -55.67)
CIE-LCHlch(36.24, 64.99, 301.06°)
OKLaboklab(46.42% 0.0321 -0.1597)
OKLCHoklch(46.42% 0.163 281.4)
XYZxyz(13.1661, 9.1338, 42.1351)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B0 #A8B046
analogous
#4673B0 #4E46B0 #8346B0
triadic
#4E46B0 #B04E46 #46B04E
tetradic
#4E46B0 #B04673 #A8B046 #46B083
square
#4E46B0 #B04673 #A8B046 #46B083
split-complementary
#4E46B0 #B08346 #73B046
monochromatic
#272358 #3B3584 #4E46B0 #756EC5 #9E9AD7

Accessibility & contrast

On white

7.43
#4E46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E46B0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B0#FFFFFF#000000##FFFFFF
##4E46B01.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#1E5F74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e46b0;
/* rgb */ color: rgb(78, 70, 176);
/* oklch */ color: oklch(46.4% 0.163 281.4);
Tailwind
colors: {
  custom: {
    50: '#887ac8',
    500: '#4e46b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b0;
$custom-light: #887ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b0",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 244.528,
    "s": 43.089,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.16292,
    "h": 281.4
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E46B0

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

Preview Lab → · Contrast checker → · Palette generator →

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