#4E4ABF#4E4ABF

#4E4ABF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.178 H 278.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E4ABF
RGBrgb(78, 74, 191)
HSLhsl(242, 48%, 52%)
HSVhsv(242, 61%, 75%)
CMYKcmyk(59.2%, 61.3%, 0%, 25.1%)
CIE-LABlab(38.34, 35.94, -61.10)
CIE-LCHlch(38.34, 70.89, 300.47°)
OKLaboklab(48.32% 0.0276 -0.1757)
OKLCHoklch(48.32% 0.178 278.9)
XYZxyz(14.9916, 10.2778, 50.4739)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ABF #BBBF4A
analogous
#4A81BF #4E4ABF #884ABF
triadic
#4E4ABF #BF4E4A #4ABF4E
tetradic
#4E4ABF #BF4A81 #BBBF4A #4ABF88
square
#4E4ABF #BF4A81 #BBBF4A #4ABF88
split-complementary
#4E4ABF #BF884A #81BF4A
monochromatic
#282569 #393597 #4E4ABF #7A77CF #A6A4DF

Accessibility & contrast

On white

6.87
#4E4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ABF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ABF#FFFFFF#000000##FFFFFF
##4E4ABF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4abf;
/* rgb */ color: rgb(78, 74, 191);
/* oklch */ color: oklch(48.3% 0.178 278.9);
Tailwind
colors: {
  custom: {
    50: '#8b7dd3',
    500: '#4e4abf',
    950: '#000000',
  },
}
SCSS
$custom: #4e4abf;
$custom-light: #8b7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4abf",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 242.051,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.17781,
    "h": 278.9
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#4E4ABF
secondary
#CACC99
accent
#D750D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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