#4E4AB7#4E4AB7

#4E4AB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.167 H 279.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E4AB7
RGBrgb(78, 74, 183)
HSLhsl(242, 43%, 50%)
HSVhsv(242, 60%, 72%)
CMYKcmyk(57.4%, 59.6%, 0%, 28.2%)
CIE-LABlab(37.73, 33.33, -57.40)
CIE-LCHlch(37.73, 66.37, 300.14°)
OKLaboklab(47.68% 0.0279 -0.1648)
OKLCHoklch(47.68% 0.167 279.6)
XYZxyz(14.1352, 9.9352, 45.9634)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB7 #B3B74A
analogous
#4A7CB7 #4E4AB7 #844AB7
triadic
#4E4AB7 #B74E4A #4AB74E
tetradic
#4E4AB7 #B74A7C #B3B74A #4AB784
square
#4E4AB7 #B74A7C #B3B74A #4AB784
split-complementary
#4E4AB7 #B7844A #7CB74A
monochromatic
#282660 #3B388C #4E4AB7 #7976C8 #A4A2DA

Accessibility & contrast

On white

7.03
#4E4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E4AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AB7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB7#FFFFFF#000000##FFFFFF
##4E4AB71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#116479
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4ab7;
/* rgb */ color: rgb(78, 74, 183);
/* oklch */ color: oklch(47.7% 0.167 279.6);
Tailwind
colors: {
  custom: {
    50: '#897dcd',
    500: '#4e4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab7;
$custom-light: #897dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab7",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 242.202,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.16712,
    "h": 279.6
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#4E4AB7
secondary
#C5C796
accent
#D355CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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