#4D41AD#4D41AD

#4D41AD is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.166 H 282.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4D41AD
RGBrgb(77, 65, 173)
HSLhsl(247, 45%, 47%)
HSVhsv(247, 62%, 68%)
CMYKcmyk(55.5%, 62.4%, 0%, 32.2%)
CIE-LABlab(34.75, 35.46, -56.31)
CIE-LCHlch(34.75, 66.55, 302.19°)
OKLaboklab(45.23% 0.036 -0.1617)
OKLCHoklch(45.23% 0.166 282.6)
XYZxyz(12.4914, 8.3747, 40.4853)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41AD #A1AD41
analogous
#416BAD #4D41AD #8341AD
triadic
#4D41AD #AD4D41 #41AD4D
tetradic
#4D41AD #AD416B #A1AD41 #41AD83
square
#4D41AD #AD416B #A1AD41 #41AD83
split-complementary
#4D41AD #AD8341 #6BAD41
monochromatic
#252054 #393081 #4D41AD #7066C5 #9A92D6

Accessibility & contrast

On white

7.85
#4D41AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D41AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41AD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41AD#FFFFFF#000000##FFFFFF
##4D41AD1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#205B71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d41ad;
/* rgb */ color: rgb(77, 65, 173);
/* oklch */ color: oklch(45.2% 0.166 282.6);
Tailwind
colors: {
  custom: {
    50: '#8876c6',
    500: '#4d41ad',
    950: '#000000',
  },
}
SCSS
$custom: #4d41ad;
$custom-light: #8876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41ad",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 246.667,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.16562,
    "h": 282.6
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#4D41AD
secondary
#BBC288
accent
#D553C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D41AD

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

Preview Lab → · Contrast checker → · Palette generator →

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