#4E4783#4E4783

#4E4783 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.097 H 287.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E4783
RGBrgb(78, 71, 131)
HSLhsl(247, 30%, 40%)
HSVhsv(247, 46%, 51%)
CMYKcmyk(40.5%, 45.8%, 0%, 48.6%)
CIE-LABlab(33.49, 18.66, -32.86)
CIE-LCHlch(33.49, 37.79, 299.59°)
OKLaboklab(43.4% 0.0283 -0.0927)
OKLCHoklch(43.4% 0.097 287)
XYZxyz(9.4907, 7.7646, 22.4670)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4783 #7C8347
analogous
#475E83 #4E4783 #6C4783
triadic
#4E4783 #834E47 #47834E
tetradic
#4E4783 #83475E #7C8347 #47836C
square
#4E4783 #83475E #7C8347 #47836C
split-complementary
#4E4783 #836C47 #5E8347
monochromatic
#1F1C34 #36315B #4E4783 #675FA8 #8D87BE

Accessibility & contrast

On white

8.23
#4E4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4783
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4783#FFFFFF#000000##FFFFFF
##4E47831.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325085
Deuteranopia (green-blind)
#314D82
Tritanopia (blue-blind)
#3F535E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4783;
/* rgb */ color: rgb(78, 71, 131);
/* oklch */ color: oklch(43.4% 0.097 287.0);
Tailwind
colors: {
  custom: {
    50: '#827aa7',
    500: '#4e4783',
    950: '#000000',
  },
}
SCSS
$custom: #4e4783;
$custom-light: #827aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4783",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 247,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.09694,
    "h": 287
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#4E4783
secondary
#A4A97C
accent
#C662BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4783

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

Preview Lab → · Contrast checker → · Palette generator →

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