#4E46B2#4E46B2

#4E46B2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.166 H 281.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4E46B2
RGBrgb(78, 70, 178)
HSLhsl(244, 44%, 49%)
HSVhsv(244, 61%, 70%)
CMYKcmyk(56.2%, 60.7%, 0%, 30.2%)
CIE-LABlab(36.39, 34.18, -56.61)
CIE-LCHlch(36.39, 66.13, 301.12°)
OKLaboklab(46.57% 0.032 -0.1625)
OKLCHoklch(46.57% 0.166 281.2)
XYZxyz(13.3654, 9.2135, 43.1850)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B2 #AAB246
analogous
#4674B2 #4E46B2 #8446B2
triadic
#4E46B2 #B24E46 #46B24E
tetradic
#4E46B2 #B24674 #AAB246 #46B284
square
#4E46B2 #B24674 #AAB246 #46B284
split-complementary
#4E46B2 #B28446 #74B246
monochromatic
#28235A #3B3586 #4E46B2 #756FC6 #9F9BD8

Accessibility & contrast

On white

7.39
#4E46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46B2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B2#FFFFFF#000000##FFFFFF
##4E46B21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#1C6075
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e46b2;
/* rgb */ color: rgb(78, 70, 178);
/* oklch */ color: oklch(46.6% 0.166 281.2);
Tailwind
colors: {
  custom: {
    50: '#897aca',
    500: '#4e46b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b2;
$custom-light: #897aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b2",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 244.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.16562,
    "h": 281.2
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#4E46B2
secondary
#C0C490
accent
#D355CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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