#4E4398#4E4398

#4E4398 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.134 H 285.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E4398
RGBrgb(78, 67, 152)
HSLhsl(248, 39%, 43%)
HSVhsv(248, 56%, 60%)
CMYKcmyk(48.7%, 55.9%, 0%, 40.4%)
CIE-LABlab(33.77, 27.74, -45.26)
CIE-LCHlch(33.77, 53.09, 301.50°)
OKLaboklab(44.04% 0.0355 -0.1291)
OKLCHoklch(44.04% 0.134 285.4)
XYZxyz(10.8149, 7.9005, 30.6548)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4398 #8D9843
analogous
#436298 #4E4398 #784398
triadic
#4E4398 #984E43 #43984E
tetradic
#4E4398 #984362 #8D9843 #439878
square
#4E4398 #984362 #8D9843 #439878
split-complementary
#4E4398 #987843 #629843
monochromatic
#221E43 #38306E #4E4398 #6B60B9 #928ACB

Accessibility & contrast

On white

8.14
#4E4398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E4398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4398
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4398#FFFFFF#000000##FFFFFF
##4E43981.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#355667
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4398;
/* rgb */ color: rgb(78, 67, 152);
/* oklch */ color: oklch(44.0% 0.134 285.4);
Tailwind
colors: {
  custom: {
    50: '#8577b7',
    500: '#4e4398',
    950: '#000000',
  },
}
SCSS
$custom: #4e4398;
$custom-light: #8577b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4398",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 247.765,
    "s": 38.813,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.13392,
    "h": 285.4
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#4E4398
secondary
#AFB680
accent
#CF59C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4398

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

Preview Lab → · Contrast checker → · Palette generator →

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