#4E4881#4E4881

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

Color values

HEX#4E4881
RGBrgb(78, 72, 129)
HSLhsl(246, 28%, 39%)
HSVhsv(246, 44%, 51%)
CMYKcmyk(39.5%, 44.2%, 0%, 49.4%)
CIE-LABlab(33.65, 17.40, -31.37)
CIE-LCHlch(33.65, 35.88, 299.02°)
OKLaboklab(43.48% 0.0265 -0.0884)
OKLCHoklch(43.48% 0.092 286.7)
XYZxyz(9.4206, 7.8391, 21.7814)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4881 #7B8148
analogous
#485F81 #4E4881 #6B4881
triadic
#4E4881 #814E48 #48814E
tetradic
#4E4881 #81485F #7B8148 #48816B
square
#4E4881 #81485F #7B8148 #48816B
split-complementary
#4E4881 #816B48 #5F8148
monochromatic
#1F1C32 #36325A #4E4881 #6760A6 #8D87BC

Accessibility & contrast

On white

8.18
#4E4881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4881
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4881#FFFFFF#000000##FFFFFF
##4E48811.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4881;
/* rgb */ color: rgb(78, 72, 129);
/* oklch */ color: oklch(43.5% 0.092 286.7);
Tailwind
colors: {
  custom: {
    50: '#827ba6',
    500: '#4e4881',
    950: '#000000',
  },
}
SCSS
$custom: #4e4881;
$custom-light: #827ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4881",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 246.316,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.09227,
    "h": 286.7
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#4E4881
secondary
#A3A87D
accent
#C563BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4881

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

Preview Lab → · Contrast checker → · Palette generator →

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