#4E4794#4E4794

#4E4794 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.122 H 284.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4E4794
RGBrgb(78, 71, 148)
HSLhsl(245, 35%, 43%)
HSVhsv(245, 52%, 58%)
CMYKcmyk(47.3%, 52%, 0%, 42%)
CIE-LABlab(34.53, 23.93, -41.63)
CIE-LCHlch(34.53, 48.01, 299.90°)
OKLaboklab(44.52% 0.0304 -0.1184)
OKLCHoklch(44.52% 0.122 284.4)
XYZxyz(10.7388, 8.2638, 29.0405)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4794 #8D9447
analogous
#476694 #4E4794 #754794
triadic
#4E4794 #944E47 #47944E
tetradic
#4E4794 #944766 #8D9447 #479475
square
#4E4794 #944766 #8D9447 #479475
split-complementary
#4E4794 #947547 #669447
monochromatic
#221F41 #38336B #4E4794 #6B64B4 #928DC8

Accessibility & contrast

On white

7.92
#4E4794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E4794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4794
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4794#FFFFFF#000000##FFFFFF
##4E47941.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#375766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4794;
/* rgb */ color: rgb(78, 71, 148);
/* oklch */ color: oklch(44.5% 0.122 284.4);
Tailwind
colors: {
  custom: {
    50: '#847ab4',
    500: '#4e4794',
    950: '#000000',
  },
}
SCSS
$custom: #4e4794;
$custom-light: #847ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4794",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 245.455,
    "s": 35.16,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.12224,
    "h": 284.4
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#4E4794
secondary
#AFB483
accent
#CB5DC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4794

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

Preview Lab → · Contrast checker → · Palette generator →

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