#4E46C2#4E46C2

#4E46C2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.187 H 279.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E46C2
RGBrgb(78, 70, 194)
HSLhsl(244, 50%, 52%)
HSVhsv(244, 64%, 76%)
CMYKcmyk(59.8%, 63.9%, 0%, 23.9%)
CIE-LABlab(37.65, 39.34, -63.97)
CIE-LCHlch(37.65, 75.10, 301.59°)
OKLaboklab(47.89% 0.031 -0.1841)
OKLCHoklch(47.89% 0.187 279.6)
XYZxyz(15.0666, 9.8940, 52.1443)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C2 #BAC246
analogous
#467CC2 #4E46C2 #8C46C2
triadic
#4E46C2 #C24E46 #46C24E
tetradic
#4E46C2 #C2467C #BAC246 #46C28C
square
#4E46C2 #C2467C #BAC246 #46C28C
split-complementary
#4E46C2 #C28C46 #7CC246
monochromatic
#28236A #393299 #4E46C2 #7A74D1 #A6A2E0

Accessibility & contrast

On white

7.05
#4E46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E46C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46C2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C2#FFFFFF#000000##FFFFFF
##4E46C21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e46c2;
/* rgb */ color: rgb(78, 70, 194);
/* oklch */ color: oklch(47.9% 0.187 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b7ad5',
    500: '#4e46c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c2;
$custom-light: #8b7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c2",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 243.871,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.1867,
    "h": 279.6
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#4E46C2
secondary
#CACD97
accent
#DA4ED1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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