#4E4099#4E4099

#4E4099 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.140 H 286.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4099
RGBrgb(78, 64, 153)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 60%)
CMYKcmyk(49%, 58.2%, 0%, 40%)
CIE-LABlab(33.11, 29.94, -46.95)
CIE-LCHlch(33.11, 55.69, 302.53°)
OKLaboklab(43.57% 0.0391 -0.1341)
OKLCHoklch(43.57% 0.14 286.3)
XYZxyz(10.7234, 7.5859, 31.0300)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4099 #8B9940
analogous
#405F99 #4E4099 #7A4099
triadic
#4E4099 #994E40 #40994E
tetradic
#4E4099 #99405F #8B9940 #40997A
square
#4E4099 #99405F #8B9940 #40997A
split-complementary
#4E4099 #997A40 #5F9940
monochromatic
#221C43 #382E6E #4E4099 #6B5CBB #9287CD

Accessibility & contrast

On white

8.34
#4E4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4099
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4099#FFFFFF#000000##FFFFFF
##4E40991.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#345466
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4099;
/* rgb */ color: rgb(78, 64, 153);
/* oklch */ color: oklch(43.6% 0.140 286.3);
Tailwind
colors: {
  custom: {
    50: '#8575b8',
    500: '#4e4099',
    950: '#000000',
  },
}
SCSS
$custom: #4e4099;
$custom-light: #8575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4099",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 249.438,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.13968,
    "h": 286.3
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#4E4099
secondary
#AEB77E
accent
#D157BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E4099

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

Preview Lab → · Contrast checker → · Palette generator →

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