#4E4495#4E4495

#4E4495 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.128 H 285.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4495
RGBrgb(78, 68, 149)
HSLhsl(247, 37%, 43%)
HSVhsv(247, 54%, 58%)
CMYKcmyk(47.7%, 54.4%, 0%, 41.6%)
CIE-LABlab(33.82, 26.16, -43.36)
CIE-LCHlch(33.82, 50.64, 301.10°)
OKLaboklab(44.01% 0.0342 -0.1235)
OKLCHoklch(44.01% 0.128 285.5)
XYZxyz(10.6322, 7.9234, 29.3971)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4495 #8B9544
analogous
#446395 #4E4495 #764495
triadic
#4E4495 #954E44 #44954E
tetradic
#4E4495 #954463 #8B9544 #449576
square
#4E4495 #954463 #8B9544 #449576
split-complementary
#4E4495 #957644 #639544
monochromatic
#221E41 #38316B #4E4495 #6B60B6 #928ACA

Accessibility & contrast

On white

8.12
#4E4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E4495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4495
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4495#FFFFFF#000000##FFFFFF
##4E44951.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#365666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4495;
/* rgb */ color: rgb(78, 68, 149);
/* oklch */ color: oklch(44.0% 0.128 285.5);
Tailwind
colors: {
  custom: {
    50: '#8578b5',
    500: '#4e4495',
    950: '#000000',
  },
}
SCSS
$custom: #4e4495;
$custom-light: #8578b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4495",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 247.407,
    "s": 37.327,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.12817,
    "h": 285.5
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#4E4495
secondary
#AEB580
accent
#CD5BBF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4495

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

Preview Lab → · Contrast checker → · Palette generator →

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