#4E4E81#4E4E81

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

Color values

HEX#4E4E81
RGBrgb(78, 78, 129)
HSLhsl(240, 25%, 41%)
HSVhsv(240, 40%, 51%)
CMYKcmyk(39.5%, 39.5%, 0%, 49.4%)
CIE-LABlab(35.31, 13.52, -28.75)
CIE-LCHlch(35.31, 31.77, 295.19°)
OKLaboklab(44.75% 0.018 -0.0807)
OKLCHoklch(44.75% 0.083 282.5)
XYZxyz(9.8276, 8.6531, 21.9170)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E81 #81814E
analogous
#4E6781 #4E4E81 #674E81
triadic
#4E4E81 #814E4E #4E814E
tetradic
#4E4E81 #814E67 #81814E #4E8167
square
#4E4E81 #814E67 #81814E #4E8167
split-complementary
#4E4E81 #81674E #67814E
monochromatic
#202035 #37375B #4E4E81 #6868A4 #8E8EBB

Accessibility & contrast

On white

7.69
#4E4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E81
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E81#FFFFFF#000000##FFFFFF
##4E4E811.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#405861
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4e81;
/* rgb */ color: rgb(78, 78, 129);
/* oklch */ color: oklch(44.7% 0.083 282.5);
Tailwind
colors: {
  custom: {
    50: '#827fa6',
    500: '#4e4e81',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e81;
$custom-light: #827fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e81",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 240,
    "s": 24.638,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.08268,
    "h": 282.5
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#4E4E81
secondary
#A8A883
accent
#C167C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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