#4E4096#4E4096

#4E4096 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.136 H 286.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4096
RGBrgb(78, 64, 150)
HSLhsl(250, 40%, 42%)
HSVhsv(250, 57%, 59%)
CMYKcmyk(48%, 57.3%, 0%, 41.2%)
CIE-LABlab(32.89, 29.00, -45.47)
CIE-LCHlch(32.89, 53.93, 302.53°)
OKLaboklab(43.35% 0.0391 -0.1297)
OKLCHoklch(43.35% 0.136 286.8)
XYZxyz(10.4787, 7.4880, 29.7415)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4096 #889640
analogous
#405D96 #4E4096 #794096
triadic
#4E4096 #964E40 #40964E
tetradic
#4E4096 #96405D #889640 #409679
square
#4E4096 #96405D #889640 #409679
split-complementary
#4E4096 #967940 #5D9640
monochromatic
#211B40 #382E6B #4E4096 #6A5AB9 #9185CB

Accessibility & contrast

On white

8.41
#4E4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4096
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4096#FFFFFF#000000##FFFFFF
##4E40961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5099
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#365364
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4096;
/* rgb */ color: rgb(78, 64, 150);
/* oklch */ color: oklch(43.3% 0.136 286.8);
Tailwind
colors: {
  custom: {
    50: '#8575b5',
    500: '#4e4096',
    950: '#000000',
  },
}
SCSS
$custom: #4e4096;
$custom-light: #8575b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4096",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 249.767,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.1355,
    "h": 286.8
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#4E4096
secondary
#ACB67C
accent
#D058BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4096

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

Preview Lab → · Contrast checker → · Palette generator →

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