#4E4884#4E4884

#4E4884 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.7% C 0.097 H 286.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4E4884
RGBrgb(78, 72, 132)
HSLhsl(246, 29%, 40%)
HSVhsv(246, 45%, 52%)
CMYKcmyk(40.9%, 45.5%, 0%, 48.2%)
CIE-LABlab(33.82, 18.31, -32.96)
CIE-LCHlch(33.82, 37.70, 299.06°)
OKLaboklab(43.67% 0.0271 -0.093)
OKLCHoklch(43.67% 0.097 286.2)
XYZxyz(9.6229, 7.9200, 22.8470)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4884 #7E8448
analogous
#486084 #4E4884 #6C4884
triadic
#4E4884 #844E48 #48844E
tetradic
#4E4884 #844860 #7E8448 #48846C
square
#4E4884 #844860 #7E8448 #48846C
split-complementary
#4E4884 #846C48 #608448
monochromatic
#1F1D35 #37325C #4E4884 #6861A9 #8E88BE

Accessibility & contrast

On white

8.13
#4E4884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4884
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4884#FFFFFF#000000##FFFFFF
##4E48841.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#3F545F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4884;
/* rgb */ color: rgb(78, 72, 132);
/* oklch */ color: oklch(43.7% 0.097 286.2);
Tailwind
colors: {
  custom: {
    50: '#827ba8',
    500: '#4e4884',
    950: '#000000',
  },
}
SCSS
$custom: #4e4884;
$custom-light: #827ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4884",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 246,
    "s": 29.412,
    "l": 40
  },
  "oklch": {
    "l": 0.43666,
    "c": 0.09685,
    "h": 286.2
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#4E4884
secondary
#A6AA7E
accent
#C662BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4884

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

Preview Lab → · Contrast checker → · Palette generator →

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