#4D409E#4D409E

#4D409E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.147 H 284.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4D409E
RGBrgb(77, 64, 158)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(51.3%, 59.5%, 0%, 38%)
CIE-LABlab(33.38, 31.30, -49.54)
CIE-LCHlch(33.38, 58.60, 302.28°)
OKLaboklab(43.86% 0.0377 -0.1417)
OKLCHoklch(43.86% 0.147 284.9)
XYZxyz(11.0637, 7.7126, 33.2468)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D409E #919E40
analogous
#40629E #4D409E #7C409E
triadic
#4D409E #9E4D40 #409E4D
tetradic
#4D409E #9E4062 #919E40 #409E7C
square
#4D409E #9E4062 #919E40 #409E7C
split-complementary
#4D409E #9E7C40 #629E40
monochromatic
#231D47 #382E72 #4D409E #6B5EBE #9389CF

Accessibility & contrast

On white

8.26
#4D409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D409E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D409E#FFFFFF#000000##FFFFFF
##4D409E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#2F5668
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d409e;
/* rgb */ color: rgb(77, 64, 158);
/* oklch */ color: oklch(43.9% 0.147 284.9);
Tailwind
colors: {
  custom: {
    50: '#8575bb',
    500: '#4d409e',
    950: '#000000',
  },
}
SCSS
$custom: #4d409e;
$custom-light: #8575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d409e",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 248.298,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.14669,
    "h": 284.9
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#4D409E
secondary
#B2BA80
accent
#D256C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D409E

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

Preview Lab → · Contrast checker → · Palette generator →

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