#4E4ABA#4E4ABA

#4E4ABA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.171 H 279.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4ABA
RGBrgb(78, 74, 186)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(58.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(37.95, 34.31, -58.80)
CIE-LCHlch(37.95, 68.07, 300.26°)
OKLaboklab(47.91% 0.0278 -0.1689)
OKLCHoklch(47.91% 0.171 279.3)
XYZxyz(14.4508, 10.0614, 47.6254)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ABA #B6BA4A
analogous
#4A7EBA #4E4ABA #864ABA
triadic
#4E4ABA #BA4E4A #4ABA4E
tetradic
#4E4ABA #BA4A7E #B6BA4A #4ABA86
square
#4E4ABA #BA4A7E #B6BA4A #4ABA86
split-complementary
#4E4ABA #BA864A #7EBA4A
monochromatic
#282664 #3A3790 #4E4ABA #7976CB #A5A3DC

Accessibility & contrast

On white

6.97
#4E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ABA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ABA#FFFFFF#000000##FFFFFF
##4E4ABA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#09657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4aba;
/* rgb */ color: rgb(78, 74, 186);
/* oklch */ color: oklch(47.9% 0.171 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a7dd0',
    500: '#4e4aba',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aba;
$custom-light: #8a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aba",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 242.143,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47914,
    "c": 0.17115,
    "h": 279.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#4E4ABA
secondary
#C7C997
accent
#D553D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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