#4E4983#4E4983

#4E4983 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.8% C 0.094 H 285.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E4983
RGBrgb(78, 73, 131)
HSLhsl(245, 28%, 40%)
HSVhsv(245, 44%, 51%)
CMYKcmyk(40.5%, 44.3%, 0%, 48.6%)
CIE-LABlab(34.03, 17.36, -32.00)
CIE-LCHlch(34.03, 36.41, 298.48°)
OKLaboklab(43.81% 0.0255 -0.0902)
OKLCHoklch(43.81% 0.094 285.8)
XYZxyz(9.6200, 8.0232, 22.5101)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4983 #7E8349
analogous
#496183 #4E4983 #6B4983
triadic
#4E4983 #834E49 #49834E
tetradic
#4E4983 #834961 #7E8349 #49836B
square
#4E4983 #834961 #7E8349 #49836B
split-complementary
#4E4983 #836B49 #618349
monochromatic
#1F1D34 #37335C #4E4983 #6862A7 #8E89BD

Accessibility & contrast

On white

8.06
#4E4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4983
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4983#FFFFFF#000000##FFFFFF
##4E49831.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#3F545F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4983;
/* rgb */ color: rgb(78, 73, 131);
/* oklch */ color: oklch(43.8% 0.094 285.8);
Tailwind
colors: {
  custom: {
    50: '#827ba7',
    500: '#4e4983',
    950: '#000000',
  },
}
SCSS
$custom: #4e4983;
$custom-light: #827ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4983",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 245.172,
    "s": 28.431,
    "l": 40
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.09372,
    "h": 285.8
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#4E4983
secondary
#A6A97F
accent
#C563BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4983

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

Preview Lab → · Contrast checker → · Palette generator →

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