#4E46C5#4E46C5

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

Color values

HEX#4E46C5
RGBrgb(78, 70, 197)
HSLhsl(244, 52%, 52%)
HSVhsv(244, 64%, 77%)
CMYKcmyk(60.4%, 64.5%, 0%, 22.7%)
CIE-LABlab(37.90, 40.31, -65.32)
CIE-LCHlch(37.90, 76.76, 301.68°)
OKLaboklab(48.14% 0.0307 -0.1881)
OKLCHoklch(48.14% 0.191 279.3)
XYZxyz(15.4069, 10.0301, 53.9366)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C5 #BDC546
analogous
#467DC5 #4E46C5 #8E46C5
triadic
#4E46C5 #C54E46 #46C54E
tetradic
#4E46C5 #C5467D #BDC546 #46C58E
square
#4E46C5 #C5467D #BDC546 #46C58E
split-complementary
#4E46C5 #C58E46 #7DC546
monochromatic
#27236E #38319D #4E46C5 #7B75D4 #A7A3E2

Accessibility & contrast

On white

6.99
#4E46C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E46C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46C5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C5#FFFFFF#000000##FFFFFF
##4E46C51.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e46c5;
/* rgb */ color: rgb(78, 70, 197);
/* oklch */ color: oklch(48.1% 0.191 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c7ad8',
    500: '#4e46c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c5;
$custom-light: #8c7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c5",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 243.78,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.19057,
    "h": 279.3
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#4E46C5
secondary
#CCCF98
accent
#DC4CD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E46C5

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

Preview Lab → · Contrast checker → · Palette generator →

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