#4E4C82#4E4C82

#4E4C82 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.087 H 283.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4C82
RGBrgb(78, 76, 130)
HSLhsl(242, 26%, 40%)
HSVhsv(242, 42%, 51%)
CMYKcmyk(40%, 41.5%, 0%, 49%)
CIE-LABlab(34.80, 15.12, -30.16)
CIE-LCHlch(34.80, 33.74, 296.62°)
OKLaboklab(44.38% 0.021 -0.0848)
OKLCHoklch(44.38% 0.087 283.9)
XYZxyz(9.7545, 8.3999, 22.2222)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C82 #80824C
analogous
#4C6582 #4E4C82 #694C82
triadic
#4E4C82 #824E4C #4C824E
tetradic
#4E4C82 #824C65 #80824C #4C8269
square
#4E4C82 #824C65 #80824C #4C8269
split-complementary
#4E4C82 #82694C #65824C
monochromatic
#201F35 #37355B #4E4C82 #6866A5 #8E8CBC

Accessibility & contrast

On white

7.84
#4E4C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E4C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C82
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C82#FFFFFF#000000##FFFFFF
##4E4C821.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#3F5760
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4c82;
/* rgb */ color: rgb(78, 76, 130);
/* oklch */ color: oklch(44.4% 0.087 283.9);
Tailwind
colors: {
  custom: {
    50: '#827ea6',
    500: '#4e4c82',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c82;
$custom-light: #827ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c82",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 242.222,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.0874,
    "h": 283.9
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#4E4C82
secondary
#A7A881
accent
#C365BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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