#4E4199#4E4199

#4E4199 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.138 H 285.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4E4199
RGBrgb(78, 65, 153)
HSLhsl(249, 40%, 43%)
HSVhsv(249, 58%, 60%)
CMYKcmyk(49%, 57.5%, 0%, 40%)
CIE-LABlab(33.35, 29.32, -46.56)
CIE-LCHlch(33.35, 55.02, 302.20°)
OKLaboklab(43.75% 0.038 -0.1329)
OKLCHoklch(43.75% 0.138 285.9)
XYZxyz(10.7803, 7.6997, 31.0490)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4199 #8C9941
analogous
#416099 #4E4199 #7A4199
triadic
#4E4199 #994E41 #41994E
tetradic
#4E4199 #994160 #8C9941 #41997A
square
#4E4199 #994160 #8C9941 #41997A
split-complementary
#4E4199 #997A41 #609941
monochromatic
#221D43 #382F6E #4E4199 #6B5DBA #9288CC

Accessibility & contrast

On white

8.27
#4E4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4199
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4199#FFFFFF#000000##FFFFFF
##4E41991.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#345566
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4199;
/* rgb */ color: rgb(78, 65, 153);
/* oklch */ color: oklch(43.7% 0.138 285.9);
Tailwind
colors: {
  custom: {
    50: '#8576b8',
    500: '#4e4199',
    950: '#000000',
  },
}
SCSS
$custom: #4e4199;
$custom-light: #8576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4199",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 248.864,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.13824,
    "h": 285.9
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#4E4199
secondary
#AFB77F
accent
#D058BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E4199

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

Preview Lab → · Contrast checker → · Palette generator →

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