#4E4394#4E4394

#4E4394 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.128 H 286.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E4394
RGBrgb(78, 67, 148)
HSLhsl(248, 38%, 42%)
HSVhsv(248, 55%, 58%)
CMYKcmyk(47.3%, 54.7%, 0%, 42%)
CIE-LABlab(33.50, 26.48, -43.27)
CIE-LCHlch(33.50, 50.73, 301.47°)
OKLaboklab(43.75% 0.0354 -0.1232)
OKLCHoklch(43.75% 0.128 286)
XYZxyz(10.4928, 7.7717, 28.9584)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4394 #899443
analogous
#436194 #4E4394 #774394
triadic
#4E4394 #944E43 #43944E
tetradic
#4E4394 #944361 #899443 #439477
square
#4E4394 #944361 #899443 #439477
split-complementary
#4E4394 #947743 #619443
monochromatic
#221D40 #38306A #4E4394 #6A5EB6 #9188C9

Accessibility & contrast

On white

8.22
#4E4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4394
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4394#FFFFFF#000000##FFFFFF
##4E43941.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#375565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4394;
/* rgb */ color: rgb(78, 67, 148);
/* oklch */ color: oklch(43.8% 0.128 286.0);
Tailwind
colors: {
  custom: {
    50: '#8477b4',
    500: '#4e4394',
    950: '#000000',
  },
}
SCSS
$custom: #4e4394;
$custom-light: #8477b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4394",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 248.148,
    "s": 37.674,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.12823,
    "h": 286
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#4E4394
secondary
#ADB47F
accent
#CE5ABE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4394

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

Preview Lab → · Contrast checker → · Palette generator →

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