#4E46BA#4E46BA

#4E46BA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.176 H 280.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E46BA
RGBrgb(78, 70, 186)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(58.1%, 62.4%, 0%, 27.1%)
CIE-LABlab(37.01, 36.76, -60.33)
CIE-LCHlch(37.01, 70.65, 301.36°)
OKLaboklab(47.22% 0.0316 -0.1734)
OKLCHoklch(47.22% 0.176 280.3)
XYZxyz(14.1922, 9.5442, 47.5392)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46BA #B2BA46
analogous
#4678BA #4E46BA #8846BA
triadic
#4E46BA #BA4E46 #46BA4E
tetradic
#4E46BA #BA4678 #B2BA46 #46BA88
square
#4E46BA #BA4678 #B2BA46 #46BA88
split-complementary
#4E46BA #BA8846 #78BA46
monochromatic
#292461 #3B358E #4E46BA #7973CB #A39FDB

Accessibility & contrast

On white

7.22
#4E46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46BA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46BA#FFFFFF#000000##FFFFFF
##4E46BA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#0A6379
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e46ba;
/* rgb */ color: rgb(78, 70, 186);
/* oklch */ color: oklch(47.2% 0.176 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a7ad0',
    500: '#4e46ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e46ba;
$custom-light: #8a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46ba",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 244.138,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.17626,
    "h": 280.3
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#4E46BA
secondary
#C4C894
accent
#D552CC
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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