#4E4894#4E4894

#4E4894 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.121 H 284.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4894
RGBrgb(78, 72, 148)
HSLhsl(245, 35%, 43%)
HSVhsv(245, 51%, 58%)
CMYKcmyk(47.3%, 51.4%, 0%, 42%)
CIE-LABlab(34.79, 23.29, -41.21)
CIE-LCHlch(34.79, 47.33, 299.48°)
OKLaboklab(44.71% 0.0291 -0.1172)
OKLCHoklch(44.71% 0.121 284)
XYZxyz(10.8030, 8.3921, 29.0618)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4894 #8E9448
analogous
#486894 #4E4894 #744894
triadic
#4E4894 #944E48 #48944E
tetradic
#4E4894 #944868 #8E9448 #489474
square
#4E4894 #944868 #8E9448 #489474
split-complementary
#4E4894 #947448 #689448
monochromatic
#232042 #38346B #4E4894 #6B65B4 #938EC8

Accessibility & contrast

On white

7.84
#4E4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4894
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4894#FFFFFF#000000##FFFFFF
##4E48941.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#375867
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4894;
/* rgb */ color: rgb(78, 72, 148);
/* oklch */ color: oklch(44.7% 0.121 284.0);
Tailwind
colors: {
  custom: {
    50: '#847bb4',
    500: '#4e4894',
    950: '#000000',
  },
}
SCSS
$custom: #4e4894;
$custom-light: #847bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4894",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 244.737,
    "s": 34.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.12073,
    "h": 284
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#4E4894
secondary
#B0B484
accent
#CB5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4894

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

Preview Lab → · Contrast checker → · Palette generator →

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