#4E46B5#4E46B5

#4E46B5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.170 H 280.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E46B5
RGBrgb(78, 70, 181)
HSLhsl(244, 44%, 49%)
HSVhsv(244, 61%, 71%)
CMYKcmyk(56.9%, 61.3%, 0%, 29%)
CIE-LABlab(36.62, 35.15, -58.01)
CIE-LCHlch(36.62, 67.83, 301.21°)
OKLaboklab(46.82% 0.0319 -0.1666)
OKLCHoklch(46.82% 0.17 280.8)
XYZxyz(13.6699, 9.3353, 44.7887)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B5 #ADB546
analogous
#4676B5 #4E46B5 #8646B5
triadic
#4E46B5 #B54E46 #46B54E
tetradic
#4E46B5 #B54676 #ADB546 #46B586
square
#4E46B5 #B54676 #ADB546 #46B586
split-complementary
#4E46B5 #B58646 #76B546
monochromatic
#28245D #3B3589 #4E46B5 #7770C8 #A19CD9

Accessibility & contrast

On white

7.32
#4E46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E46B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46B5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B5#FFFFFF#000000##FFFFFF
##4E46B51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#176177
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e46b5;
/* rgb */ color: rgb(78, 70, 181);
/* oklch */ color: oklch(46.8% 0.170 280.8);
Tailwind
colors: {
  custom: {
    50: '#897acc',
    500: '#4e46b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b5;
$custom-light: #897acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b5",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 244.324,
    "s": 44.223,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.16962,
    "h": 280.8
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#4E46B5
secondary
#C2C592
accent
#D454CB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E46B5

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

Preview Lab → · Contrast checker → · Palette generator →

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