#4E4095#4E4095

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

Color values

HEX#4E4095
RGBrgb(78, 64, 149)
HSLhsl(250, 40%, 42%)
HSVhsv(250, 57%, 58%)
CMYKcmyk(47.7%, 57%, 0%, 41.6%)
CIE-LABlab(32.82, 28.69, -44.97)
CIE-LCHlch(32.82, 53.35, 302.54°)
OKLaboklab(43.27% 0.0391 -0.1283)
OKLCHoklch(43.27% 0.134 287)
XYZxyz(10.3985, 7.4560, 29.3192)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4095 #879540
analogous
#405D95 #4E4095 #794095
triadic
#4E4095 #954E40 #40954E
tetradic
#4E4095 #95405D #879540 #409579
square
#4E4095 #95405D #879540 #409579
split-complementary
#4E4095 #957940 #5D9540
monochromatic
#211B3F #382E6A #4E4095 #6A5AB8 #9085CB

Accessibility & contrast

On white

8.43
#4E4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4095
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4095#FFFFFF#000000##FFFFFF
##4E40951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#0C4B93
Tritanopia (blue-blind)
#375364
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4095;
/* rgb */ color: rgb(78, 64, 149);
/* oklch */ color: oklch(43.3% 0.134 287.0);
Tailwind
colors: {
  custom: {
    50: '#8575b5',
    500: '#4e4095',
    950: '#000000',
  },
}
SCSS
$custom: #4e4095;
$custom-light: #8575b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4095",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 249.882,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.1341,
    "h": 287
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4095

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

Preview Lab → · Contrast checker → · Palette generator →

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