#4E4885#4E4885

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

Color values

HEX#4E4885
RGBrgb(78, 72, 133)
HSLhsl(246, 30%, 40%)
HSVhsv(246, 46%, 52%)
CMYKcmyk(41.4%, 45.9%, 0%, 47.8%)
CIE-LABlab(33.87, 18.62, -33.48)
CIE-LCHlch(33.87, 38.31, 299.08°)
OKLaboklab(43.73% 0.0272 -0.0945)
OKLCHoklch(43.73% 0.098 286.1)
XYZxyz(9.6917, 7.9475, 23.2091)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4885 #7F8548
analogous
#486085 #4E4885 #6D4885
triadic
#4E4885 #854E48 #48854E
tetradic
#4E4885 #854860 #7F8548 #48856D
square
#4E4885 #854860 #7F8548 #48856D
split-complementary
#4E4885 #856D48 #608548
monochromatic
#1F1D36 #37335D #4E4885 #6861A9 #8E89BF

Accessibility & contrast

On white

8.11
#4E4885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E4885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4885
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4885#FFFFFF#000000##FFFFFF
##4E48851.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325187
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#3E5460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4885;
/* rgb */ color: rgb(78, 72, 133);
/* oklch */ color: oklch(43.7% 0.098 286.1);
Tailwind
colors: {
  custom: {
    50: '#827ba9',
    500: '#4e4885',
    950: '#000000',
  },
}
SCSS
$custom: #4e4885;
$custom-light: #827ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4885",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 245.902,
    "s": 29.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.09837,
    "h": 286.1
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#4E4885
secondary
#A6AB7E
accent
#C662BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4885

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

Preview Lab → · Contrast checker → · Palette generator →

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