#4E4AC1#4E4AC1

#4E4AC1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.180 H 278.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4E4AC1
RGBrgb(78, 74, 193)
HSLhsl(242, 49%, 52%)
HSVhsv(242, 62%, 76%)
CMYKcmyk(59.6%, 61.7%, 0%, 24.3%)
CIE-LABlab(38.49, 36.60, -62.02)
CIE-LCHlch(38.49, 72.01, 300.54°)
OKLaboklab(48.48% 0.0275 -0.1783)
OKLCHoklch(48.48% 0.18 278.8)
XYZxyz(15.2132, 10.3664, 51.6410)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AC1 #BDC14A
analogous
#4A81C1 #4E4AC1 #8A4AC1
triadic
#4E4AC1 #C14E4A #4AC14E
tetradic
#4E4AC1 #C14A81 #BDC14A #4AC18A
square
#4E4AC1 #C14A81 #BDC14A #4AC18A
split-complementary
#4E4AC1 #C18A4A #81C14A
monochromatic
#27256C #383599 #4E4AC1 #7B78D1 #A7A5E0

Accessibility & contrast

On white

6.83
#4E4AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E4AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AC1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AC1#FFFFFF#000000##FFFFFF
##4E4AC11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4ac1;
/* rgb */ color: rgb(78, 74, 193);
/* oklch */ color: oklch(48.5% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dd5',
    500: '#4e4ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ac1;
$custom-light: #8b7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ac1",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 242.017,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.18045,
    "h": 278.8
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#4E4AC1
secondary
#CCCD99
accent
#D94FD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E4AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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