#4E4699#4E4699

#4E4699 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.131 H 284.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4E4699
RGBrgb(78, 70, 153)
HSLhsl(246, 37%, 44%)
HSVhsv(246, 54%, 60%)
CMYKcmyk(49%, 54.2%, 0%, 40%)
CIE-LABlab(34.60, 26.15, -44.54)
CIE-LCHlch(34.60, 51.65, 300.42°)
OKLaboklab(44.68% 0.032 -0.127)
OKLCHoklch(44.68% 0.131 284.1)
XYZxyz(11.0801, 8.2994, 31.1489)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4699 #919946
analogous
#466799 #4E4699 #774699
triadic
#4E4699 #994E46 #46994E
tetradic
#4E4699 #994667 #919946 #469977
square
#4E4699 #994667 #919946 #469977
split-complementary
#4E4699 #997746 #679946
monochromatic
#232045 #39336F #4E4699 #6C64B8 #948ECB

Accessibility & contrast

On white

7.89
#4E4699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E4699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4699
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4699#FFFFFF#000000##FFFFFF
##4E46991.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#164F97
Tritanopia (blue-blind)
#345868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4699;
/* rgb */ color: rgb(78, 70, 153);
/* oklch */ color: oklch(44.7% 0.131 284.1);
Tailwind
colors: {
  custom: {
    50: '#8579b8',
    500: '#4e4699',
    950: '#000000',
  },
}
SCSS
$custom: #4e4699;
$custom-light: #8579b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4699",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 245.783,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.13094,
    "h": 284.1
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#4E4699
secondary
#B2B784
accent
#CD5BC2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4699

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

Preview Lab → · Contrast checker → · Palette generator →

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