#4E4E82#4E4E82

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

Color values

HEX#4E4E82
RGBrgb(78, 78, 130)
HSLhsl(240, 25%, 41%)
HSVhsv(240, 40%, 51%)
CMYKcmyk(40%, 40%, 0%, 49%)
CIE-LABlab(35.36, 13.83, -29.28)
CIE-LCHlch(35.36, 32.38, 295.28°)
OKLaboklab(44.81% 0.0182 -0.0823)
OKLCHoklch(44.81% 0.084 282.5)
XYZxyz(9.8944, 8.6798, 22.2688)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E82 #82824E
analogous
#4E6882 #4E4E82 #684E82
triadic
#4E4E82 #824E4E #4E824E
tetradic
#4E4E82 #824E68 #82824E #4E8268
square
#4E4E82 #824E68 #82824E #4E8268
split-complementary
#4E4E82 #82684E #68824E
monochromatic
#202035 #37375C #4E4E82 #6868A5 #8F8FBC

Accessibility & contrast

On white

7.68
#4E4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E82
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E82#FFFFFF#000000##FFFFFF
##4E4E821.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#3F5862
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4e82;
/* rgb */ color: rgb(78, 78, 130);
/* oklch */ color: oklch(44.8% 0.084 282.5);
Tailwind
colors: {
  custom: {
    50: '#827fa6',
    500: '#4e4e82',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e82;
$custom-light: #827fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e82",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.08424,
    "h": 282.5
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#4E4E82
secondary
#A8A884
accent
#C166C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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