#4E46C4#4E46C4

#4E46C4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.189 H 279.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E46C4
RGBrgb(78, 70, 196)
HSLhsl(244, 52%, 52%)
HSVhsv(244, 64%, 77%)
CMYKcmyk(60.2%, 64.3%, 0%, 23.1%)
CIE-LABlab(37.81, 39.99, -64.87)
CIE-LCHlch(37.81, 76.21, 301.65°)
OKLaboklab(48.06% 0.0308 -0.1868)
OKLCHoklch(48.06% 0.189 279.4)
XYZxyz(15.2927, 9.9844, 53.3352)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C4 #BCC446
analogous
#467DC4 #4E46C4 #8D46C4
triadic
#4E46C4 #C44E46 #46C44E
tetradic
#4E46C4 #C4467D #BCC446 #46C48D
square
#4E46C4 #C4467D #BCC446 #46C48D
split-complementary
#4E46C4 #C48D46 #7DC446
monochromatic
#27236D #38329B #4E46C4 #7A74D3 #A7A3E2

Accessibility & contrast

On white

7.01
#4E46C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E46C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46C4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C4#FFFFFF#000000##FFFFFF
##4E46C41.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e46c4;
/* rgb */ color: rgb(78, 70, 196);
/* oklch */ color: oklch(48.1% 0.189 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c7ad7',
    500: '#4e46c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c4;
$custom-light: #8c7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c4",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 243.81,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.18928,
    "h": 279.4
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#4E46C4
secondary
#CBCE97
accent
#DB4DD2
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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