#4D409B#4D409B

#4D409B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.143 H 285.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4D409B
RGBrgb(77, 64, 155)
HSLhsl(249, 42%, 43%)
HSVhsv(249, 59%, 61%)
CMYKcmyk(50.3%, 58.7%, 0%, 39.2%)
CIE-LABlab(33.16, 30.35, -48.08)
CIE-LCHlch(33.16, 56.86, 302.26°)
OKLaboklab(43.63% 0.0378 -0.1374)
OKLCHoklch(43.63% 0.143 285.4)
XYZxyz(10.8086, 7.6106, 31.9035)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D409B #8E9B40
analogous
#40619B #4D409B #7A409B
triadic
#4D409B #9B4D40 #409B4D
tetradic
#4D409B #9B4061 #8E9B40 #409B7A
square
#4D409B #9B4061 #8E9B40 #409B7A
split-complementary
#4D409B #9B7A40 #619B40
monochromatic
#221C44 #372E70 #4D409B #6A5CBC #9288CE

Accessibility & contrast

On white

8.33
#4D409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D409B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D409B#FFFFFF#000000##FFFFFF
##4D409B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#315567
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d409b;
/* rgb */ color: rgb(77, 64, 155);
/* oklch */ color: oklch(43.6% 0.143 285.4);
Tailwind
colors: {
  custom: {
    50: '#8575b9',
    500: '#4d409b',
    950: '#000000',
  },
}
SCSS
$custom: #4d409b;
$custom-light: #8575b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d409b",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 248.571,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.14255,
    "h": 285.4
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#4D409B
secondary
#B0B87E
accent
#D156C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4D409B

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

Preview Lab → · Contrast checker → · Palette generator →

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