#4E4ABE#4E4ABE

#4E4ABE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.176 H 279.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4E4ABE
RGBrgb(78, 74, 190)
HSLhsl(242, 47%, 52%)
HSVhsv(242, 61%, 75%)
CMYKcmyk(58.9%, 61.1%, 0%, 25.5%)
CIE-LABlab(38.26, 35.62, -60.64)
CIE-LCHlch(38.26, 70.33, 300.43°)
OKLaboklab(48.24% 0.0276 -0.1743)
OKLCHoklch(48.24% 0.176 279)
XYZxyz(14.8820, 10.2339, 49.8963)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ABE #BABE4A
analogous
#4A80BE #4E4ABE #884ABE
triadic
#4E4ABE #BE4E4A #4ABE4E
tetradic
#4E4ABE #BE4A80 #BABE4A #4ABE88
square
#4E4ABE #BE4A80 #BABE4A #4ABE88
split-complementary
#4E4ABE #BE884A #80BE4A
monochromatic
#282568 #393695 #4E4ABE #7A77CE #A6A4DE

Accessibility & contrast

On white

6.89
#4E4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ABE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ABE#FFFFFF#000000##FFFFFF
##4E4ABE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4abe;
/* rgb */ color: rgb(78, 74, 190);
/* oklch */ color: oklch(48.2% 0.176 279.0);
Tailwind
colors: {
  custom: {
    50: '#8a7dd2',
    500: '#4e4abe',
    950: '#000000',
  },
}
SCSS
$custom: #4e4abe;
$custom-light: #8a7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4abe",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 242.069,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.17649,
    "h": 279
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#4E4ABE
secondary
#CACB98
accent
#D751D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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