#4E4882#4E4882

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

Color values

HEX#4E4882
RGBrgb(78, 72, 130)
HSLhsl(246, 29%, 40%)
HSVhsv(246, 45%, 51%)
CMYKcmyk(40%, 44.6%, 0%, 49%)
CIE-LABlab(33.70, 17.71, -31.90)
CIE-LCHlch(33.70, 36.49, 299.03°)
OKLaboklab(43.54% 0.0267 -0.0899)
OKLCHoklch(43.54% 0.094 286.6)
XYZxyz(9.4874, 7.8658, 22.1331)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4882 #7C8248
analogous
#485F82 #4E4882 #6B4882
triadic
#4E4882 #824E48 #48824E
tetradic
#4E4882 #82485F #7C8248 #48826B
square
#4E4882 #82485F #7C8248 #48826B
split-complementary
#4E4882 #826B48 #5F8248
monochromatic
#1F1C33 #36325B #4E4882 #6760A7 #8D88BD

Accessibility & contrast

On white

8.16
#4E4882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E4882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4882
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4882#FFFFFF#000000##FFFFFF
##4E48821.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#40535E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4882;
/* rgb */ color: rgb(78, 72, 130);
/* oklch */ color: oklch(43.5% 0.094 286.6);
Tailwind
colors: {
  custom: {
    50: '#827ba6',
    500: '#4e4882',
    950: '#000000',
  },
}
SCSS
$custom: #4e4882;
$custom-light: #827ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4882",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 246.207,
    "s": 28.713,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.0938,
    "h": 286.6
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#4E4882
secondary
#A4A97D
accent
#C563BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4882

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

Preview Lab → · Contrast checker → · Palette generator →

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