#4E4785#4E4785

#4E4785 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.5% C 0.100 H 286.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4785
RGBrgb(78, 71, 133)
HSLhsl(247, 30%, 40%)
HSVhsv(247, 47%, 52%)
CMYKcmyk(41.4%, 46.6%, 0%, 47.8%)
CIE-LABlab(33.60, 19.27, -33.91)
CIE-LCHlch(33.60, 39.00, 299.60°)
OKLaboklab(43.53% 0.0286 -0.0958)
OKLCHoklch(43.53% 0.1 286.6)
XYZxyz(9.6276, 7.8193, 23.1878)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4785 #7E8547
analogous
#475F85 #4E4785 #6D4785
triadic
#4E4785 #854E47 #47854E
tetradic
#4E4785 #85475F #7E8547 #47856D
square
#4E4785 #85475F #7E8547 #47856D
split-complementary
#4E4785 #856D47 #5F8547
monochromatic
#1F1C35 #37325D #4E4785 #685FAA #8E87BF

Accessibility & contrast

On white

8.19
#4E4785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4785
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4785#FFFFFF#000000##FFFFFF
##4E47851.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305187
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#3E535F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4785;
/* rgb */ color: rgb(78, 71, 133);
/* oklch */ color: oklch(43.5% 0.100 286.6);
Tailwind
colors: {
  custom: {
    50: '#827aa9',
    500: '#4e4785',
    950: '#000000',
  },
}
SCSS
$custom: #4e4785;
$custom-light: #827aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4785",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 246.774,
    "s": 30.392,
    "l": 40
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.09996,
    "h": 286.6
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#4E4785
secondary
#A6AB7D
accent
#C761BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4785

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

Preview Lab → · Contrast checker → · Palette generator →

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