#4E46AA#4E46AA

#4E46AA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.155 H 282.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E46AA
RGBrgb(78, 70, 170)
HSLhsl(245, 42%, 47%)
HSVhsv(245, 59%, 67%)
CMYKcmyk(54.1%, 58.8%, 0%, 33.3%)
CIE-LABlab(35.79, 31.60, -52.83)
CIE-LCHlch(35.79, 61.56, 300.88°)
OKLaboklab(45.95% 0.0323 -0.1514)
OKLCHoklch(45.95% 0.155 282)
XYZxyz(12.5855, 8.9016, 39.0774)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46AA #A2AA46
analogous
#4670AA #4E46AA #8046AA
triadic
#4E46AA #AA4E46 #46AA4E
tetradic
#4E46AA #AA4670 #A2AA46 #46AA80
square
#4E46AA #AA4670 #A2AA46 #46AA80
split-complementary
#4E46AA #AA8046 #70AA46
monochromatic
#262253 #3A347F #4E46AA #726BC2 #9B96D4

Accessibility & contrast

On white

7.55
#4E46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E46AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46AA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46AA#FFFFFF#000000##FFFFFF
##4E46AA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#265D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e46aa;
/* rgb */ color: rgb(78, 70, 170);
/* oklch */ color: oklch(45.9% 0.155 282.0);
Tailwind
colors: {
  custom: {
    50: '#877ac4',
    500: '#4e46aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e46aa;
$custom-light: #877ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46aa",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 244.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.15476,
    "h": 282
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#4E46AA
secondary
#BCC08C
accent
#D156C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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