#4E4784#4E4784

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

Color values

HEX#4E4784
RGBrgb(78, 71, 132)
HSLhsl(247, 30%, 40%)
HSVhsv(247, 46%, 52%)
CMYKcmyk(40.9%, 46.2%, 0%, 48.2%)
CIE-LABlab(33.55, 18.96, -33.39)
CIE-LCHlch(33.55, 38.39, 299.59°)
OKLaboklab(43.46% 0.0285 -0.0942)
OKLCHoklch(43.46% 0.098 286.8)
XYZxyz(9.5588, 7.7918, 22.8256)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4784 #7D8447
analogous
#475F84 #4E4784 #6C4784
triadic
#4E4784 #844E47 #47844E
tetradic
#4E4784 #84475F #7D8447 #47846C
square
#4E4784 #84475F #7D8447 #47846C
split-complementary
#4E4784 #846C47 #5F8447
monochromatic
#1F1C34 #36325C #4E4784 #685FA9 #8D87BE

Accessibility & contrast

On white

8.21
#4E4784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4784
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4784#FFFFFF#000000##FFFFFF
##4E47841.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315086
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#3F535F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4784;
/* rgb */ color: rgb(78, 71, 132);
/* oklch */ color: oklch(43.5% 0.098 286.8);
Tailwind
colors: {
  custom: {
    50: '#827aa8',
    500: '#4e4784',
    950: '#000000',
  },
}
SCSS
$custom: #4e4784;
$custom-light: #827aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4784",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 246.885,
    "s": 30.049,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.09846,
    "h": 286.8
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#4E4784
secondary
#A5AA7D
accent
#C662BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4784

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

Preview Lab → · Contrast checker → · Palette generator →

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