#4E4CA1#4E4CA1

#4E4CA1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.134 H 280.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4CA1
RGBrgb(78, 76, 161)
HSLhsl(241, 36%, 46%)
HSVhsv(241, 53%, 63%)
CMYKcmyk(51.6%, 52.8%, 0%, 36.9%)
CIE-LABlab(36.67, 24.90, -46.03)
CIE-LCHlch(36.67, 52.33, 298.41°)
OKLaboklab(46.4% 0.0253 -0.1313)
OKLCHoklch(46.4% 0.134 280.9)
XYZxyz(12.1574, 9.3611, 34.8776)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CA1 #9FA14C
analogous
#4C75A1 #4E4CA1 #794CA1
triadic
#4E4CA1 #A14E4C #4CA14E
tetradic
#4E4CA1 #A14C75 #9FA14C #4CA179
square
#4E4CA1 #A14C75 #9FA14C #4CA179
split-complementary
#4E4CA1 #A1794C #75A14C
monochromatic
#26254E #3A3877 #4E4CA1 #716FBB #9A99CF

Accessibility & contrast

On white

7.31
#4E4CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E4CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4CA1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CA1#FFFFFF#000000##FFFFFF
##4E4CA11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#2D5F6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4ca1;
/* rgb */ color: rgb(78, 76, 161);
/* oklch */ color: oklch(46.4% 0.134 280.9);
Tailwind
colors: {
  custom: {
    50: '#867ebd',
    500: '#4e4ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ca1;
$custom-light: #867ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ca1",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 241.412,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.13373,
    "h": 280.9
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#4E4CA1
secondary
#BABB8E
accent
#CC5CC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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