#4E4399#4E4399

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

Color values

HEX#4E4399
RGBrgb(78, 67, 153)
HSLhsl(248, 39%, 43%)
HSVhsv(248, 56%, 60%)
CMYKcmyk(49%, 56.2%, 0%, 40%)
CIE-LABlab(33.84, 28.06, -45.76)
CIE-LCHlch(33.84, 53.68, 301.51°)
OKLaboklab(44.12% 0.0356 -0.1306)
OKLCHoklch(44.12% 0.135 285.2)
XYZxyz(10.8971, 7.9334, 31.0879)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4399 #8E9943
analogous
#436399 #4E4399 #794399
triadic
#4E4399 #994E43 #43994E
tetradic
#4E4399 #994363 #8E9943 #439979
square
#4E4399 #994363 #8E9943 #439979
split-complementary
#4E4399 #997943 #639943
monochromatic
#231E44 #38306E #4E4399 #6B60B9 #938ACC

Accessibility & contrast

On white

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

On black

2.59
#4E4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E4399#FFFFFF#000000##FFFFFF
##4E43991.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#0C4D97
Tritanopia (blue-blind)
#345667
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4399;
/* rgb */ color: rgb(78, 67, 153);
/* oklch */ color: oklch(44.1% 0.135 285.2);
Tailwind
colors: {
  custom: {
    50: '#8577b8',
    500: '#4e4399',
    950: '#000000',
  },
}
SCSS
$custom: #4e4399;
$custom-light: #8577b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4399",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 247.674,
    "s": 39.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.13533,
    "h": 285.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#4E4399
secondary
#B0B781
accent
#CF59C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4399

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

Preview Lab → · Contrast checker → · Palette generator →

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