#4E46A2#4E46A2

#4E46A2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.144 H 283.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4E46A2
RGBrgb(78, 70, 162)
HSLhsl(245, 40%, 45%)
HSVhsv(245, 57%, 64%)
CMYKcmyk(51.9%, 56.8%, 0%, 36.5%)
CIE-LABlab(35.22, 29.03, -48.97)
CIE-LCHlch(35.22, 56.93, 300.66°)
OKLaboklab(45.34% 0.0323 -0.14)
OKLCHoklch(45.34% 0.144 283)
XYZxyz(11.8517, 8.6080, 35.2124)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46A2 #9AA246
analogous
#466CA2 #4E46A2 #7C46A2
triadic
#4E46A2 #A24E46 #46A24E
tetradic
#4E46A2 #A2466C #9AA246 #46A27C
square
#4E46A2 #A2466C #9AA246 #46A27C
split-complementary
#4E46A2 #A27C46 #6CA246
monochromatic
#25214D #393477 #4E46A2 #6F68BE #9892D0

Accessibility & contrast

On white

7.72
#4E46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46A2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46A2#FFFFFF#000000##FFFFFF
##4E46A21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#2D5B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e46a2;
/* rgb */ color: rgb(78, 70, 162);
/* oklch */ color: oklch(45.3% 0.144 283.0);
Tailwind
colors: {
  custom: {
    50: '#8679be',
    500: '#4e46a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e46a2;
$custom-light: #8679be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46a2",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 245.217,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.14368,
    "h": 283
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#4E46A2
secondary
#B7BC88
accent
#D058C5
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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