#4E44A5#4E44A5

#4E44A5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.151 H 283.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4E44A5
RGBrgb(78, 68, 165)
HSLhsl(246, 42%, 46%)
HSVhsv(246, 59%, 65%)
CMYKcmyk(52.7%, 58.8%, 0%, 35.3%)
CIE-LABlab(34.94, 31.24, -51.22)
CIE-LCHlch(34.94, 59.99, 301.38°)
OKLaboklab(45.2% 0.0345 -0.1466)
OKLCHoklch(45.2% 0.151 283.2)
XYZxyz(11.9985, 8.4699, 36.5926)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E44A5 #9BA544
analogous
#446AA5 #4E44A5 #7E44A5
triadic
#4E44A5 #A54E44 #44A54E
tetradic
#4E44A5 #A5446A #9BA544 #44A57E
square
#4E44A5 #A5446A #9BA544 #44A57E
split-complementary
#4E44A5 #A57E44 #6AA544
monochromatic
#25204E #3A327A #4E44A5 #6F66C0 #9892D2

Accessibility & contrast

On white

7.79
#4E44A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E44A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E44A5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E44A5#FFFFFF#000000##FFFFFF
##4E44A51.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#2B5A6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e44a5;
/* rgb */ color: rgb(78, 68, 165);
/* oklch */ color: oklch(45.2% 0.151 283.2);
Tailwind
colors: {
  custom: {
    50: '#8778c0',
    500: '#4e44a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e44a5;
$custom-light: #8778c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e44a5",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 246.186,
    "s": 41.631,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.15063,
    "h": 283.2
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#4E44A5
secondary
#B8BD87
accent
#D156C5
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E44A5

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

Preview Lab → · Contrast checker → · Palette generator →

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