#4E46D4#4E46D4

#4E46D4 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.210 H 278.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4E46D4
RGBrgb(78, 70, 212)
HSLhsl(243, 62%, 55%)
HSVhsv(243, 67%, 83%)
CMYKcmyk(63.2%, 67%, 0%, 16.9%)
CIE-LABlab(39.16, 45.12, -71.94)
CIE-LCHlch(39.16, 84.92, 302.09°)
OKLaboklab(49.45% 0.0291 -0.2075)
OKLCHoklch(49.45% 0.21 278)
XYZxyz(17.2119, 10.7521, 63.4429)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46D4 #CCD446
analogous
#4685D4 #4E46D4 #9546D4
triadic
#4E46D4 #D44E46 #46D44E
tetradic
#4E46D4 #D44685 #CCD446 #46D495
square
#4E46D4 #D44685 #CCD446 #46D495
split-complementary
#4E46D4 #D49546 #85D446
monochromatic
#241E81 #312AB3 #4E46D4 #7E78E0 #ADA9EB

Accessibility & contrast

On white

6.67
#4E46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46D4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46D4#FFFFFF#000000##FFFFFF
##4E46D41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e46d4;
/* rgb */ color: rgb(78, 70, 212);
/* oklch */ color: oklch(49.5% 0.210 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ae2',
    500: '#4e46d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e46d4;
$custom-light: #8f7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46d4",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 243.38,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.20952,
    "h": 278
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#4E46D4
secondary
#D5D99D
accent
#E542DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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