#4E4594#4E4594

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

Color values

HEX#4E4594
RGBrgb(78, 69, 148)
HSLhsl(247, 36%, 43%)
HSVhsv(247, 53%, 58%)
CMYKcmyk(47.3%, 53.4%, 0%, 42%)
CIE-LABlab(34.01, 25.21, -42.45)
CIE-LCHlch(34.01, 49.37, 300.70°)
OKLaboklab(44.13% 0.0329 -0.1208)
OKLCHoklch(44.13% 0.125 285.2)
XYZxyz(10.6137, 8.0136, 28.9988)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4594 #8B9445
analogous
#456494 #4E4594 #754594
triadic
#4E4594 #944E45 #45944E
tetradic
#4E4594 #944564 #8B9445 #459475
square
#4E4594 #944564 #8B9445 #459475
split-complementary
#4E4594 #947545 #649445
monochromatic
#221E41 #38326A #4E4594 #6B61B5 #928BC9

Accessibility & contrast

On white

8.07
#4E4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4594
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4594#FFFFFF#000000##FFFFFF
##4E45941.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#1C4E92
Tritanopia (blue-blind)
#375666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4594;
/* rgb */ color: rgb(78, 69, 148);
/* oklch */ color: oklch(44.1% 0.125 285.2);
Tailwind
colors: {
  custom: {
    50: '#8479b4',
    500: '#4e4594',
    950: '#000000',
  },
}
SCSS
$custom: #4e4594;
$custom-light: #8479b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4594",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 246.835,
    "s": 36.406,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.12524,
    "h": 285.2
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#4E4594
secondary
#AEB481
accent
#CC5BC0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4594

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

Preview Lab → · Contrast checker → · Palette generator →

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