#4E46B9#4E46B9

#4E46B9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.175 H 280.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4E46B9
RGBrgb(78, 70, 185)
HSLhsl(244, 45%, 50%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(57.8%, 62.2%, 0%, 27.5%)
CIE-LABlab(36.93, 36.44, -59.87)
CIE-LCHlch(36.93, 70.08, 301.33°)
OKLaboklab(47.14% 0.0317 -0.172)
OKLCHoklch(47.14% 0.175 280.4)
XYZxyz(14.0863, 9.5019, 46.9813)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B9 #B1B946
analogous
#4677B9 #4E46B9 #8846B9
triadic
#4E46B9 #B94E46 #46B94E
tetradic
#4E46B9 #B94677 #B1B946 #46B988
square
#4E46B9 #B94677 #B1B946 #46B988
split-complementary
#4E46B9 #B98846 #77B946
monochromatic
#292460 #3B358D #4E46B9 #7872CA #A39FDB

Accessibility & contrast

On white

7.24
#4E46B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E46B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46B9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B9#FFFFFF#000000##FFFFFF
##4E46B91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#0E6279
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e46b9;
/* rgb */ color: rgb(78, 70, 185);
/* oklch */ color: oklch(47.1% 0.175 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a7acf',
    500: '#4e46b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b9;
$custom-light: #8a7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b9",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 244.174,
    "s": 45.098,
    "l": 50
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.17494,
    "h": 280.4
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#4E46B9
secondary
#C4C794
accent
#D553CC
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E46B9

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

Preview Lab → · Contrast checker → · Palette generator →

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