#4E46C7#4E46C7

#4E46C7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.193 H 279.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4E46C7
RGBrgb(78, 70, 199)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(60.8%, 64.8%, 0%, 22%)
CIE-LABlab(38.06, 40.95, -66.22)
CIE-LCHlch(38.06, 77.86, 301.74°)
OKLaboklab(48.32% 0.0305 -0.1907)
OKLCHoklch(48.32% 0.193 279.1)
XYZxyz(15.6376, 10.1224, 55.1515)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C7 #BFC746
analogous
#467EC7 #4E46C7 #8E46C7
triadic
#4E46C7 #C74E46 #46C74E
tetradic
#4E46C7 #C7467E #BFC746 #46C78E
square
#4E46C7 #C7467E #BFC746 #46C78E
split-complementary
#4E46C7 #C78E46 #7EC746
monochromatic
#272271 #3730A0 #4E46C7 #7B75D5 #A8A4E3

Accessibility & contrast

On white

6.94
#4E46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46C7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C7#FFFFFF#000000##FFFFFF
##4E46C71.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e46c7;
/* rgb */ color: rgb(78, 70, 199);
/* oklch */ color: oklch(48.3% 0.193 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c7ad9',
    500: '#4e46c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c7;
$custom-light: #8c7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c7",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 243.721,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.19313,
    "h": 279.1
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#4E46C7
secondary
#CDD098
accent
#DD4BD4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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