#4E4AB9#4E4AB9

#4E4AB9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.170 H 279.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4E4AB9
RGBrgb(78, 74, 185)
HSLhsl(242, 44%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(57.8%, 60%, 0%, 27.5%)
CIE-LABlab(37.88, 33.98, -58.33)
CIE-LCHlch(37.88, 67.51, 300.22°)
OKLaboklab(47.83% 0.0278 -0.1675)
OKLCHoklch(47.83% 0.17 279.4)
XYZxyz(14.3449, 10.0191, 47.0675)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB9 #B5B94A
analogous
#4A7DB9 #4E4AB9 #854AB9
triadic
#4E4AB9 #B94E4A #4AB94E
tetradic
#4E4AB9 #B94A7D #B5B94A #4AB985
square
#4E4AB9 #B94A7D #B5B94A #4AB985
split-complementary
#4E4AB9 #B9854A #7DB94A
monochromatic
#282663 #3A378F #4E4AB9 #7976CA #A4A2DB

Accessibility & contrast

On white

6.99
#4E4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4E4AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AB9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB9#FFFFFF#000000##FFFFFF
##4E4AB91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#0C657A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4ab9;
/* rgb */ color: rgb(78, 74, 185);
/* oklch */ color: oklch(47.8% 0.170 279.4);
Tailwind
colors: {
  custom: {
    50: '#8a7dcf',
    500: '#4e4ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab9;
$custom-light: #8a7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab9",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 242.162,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.16981,
    "h": 279.4
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#4E4AB9
secondary
#C6C897
accent
#D454CF
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E4AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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