#4D41C3#4D41C3

#4D41C3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.1% C 0.194 H 280.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4D41C3
RGBrgb(77, 65, 195)
HSLhsl(246, 52%, 51%)
HSVhsv(246, 67%, 76%)
CMYKcmyk(60.5%, 66.7%, 0%, 23.5%)
CIE-LABlab(36.55, 42.47, -66.36)
CIE-LCHlch(36.55, 78.79, 302.62°)
OKLaboklab(47.1% 0.0339 -0.1911)
OKLCHoklch(47.1% 0.194 280)
XYZxyz(14.7981, 9.2974, 52.6340)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C3 #B7C341
analogous
#4176C3 #4D41C3 #8E41C3
triadic
#4D41C3 #C34D41 #41C34D
tetradic
#4D41C3 #C34176 #B7C341 #41C38E
square
#4D41C3 #C34176 #B7C341 #41C38E
split-complementary
#4D41C3 #C38E41 #76C341
monochromatic
#282169 #393097 #4D41C3 #7970D2 #A49EE0

Accessibility & contrast

On white

7.34
#4D41C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4D41C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41C3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41C3#FFFFFF#000000##FFFFFF
##4D41C31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d41c3;
/* rgb */ color: rgb(77, 65, 195);
/* oklch */ color: oklch(47.1% 0.194 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b77d6',
    500: '#4d41c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c3;
$custom-light: #8b77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c3",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 245.538,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.19412,
    "h": 280
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#4D41C3
secondary
#C7CD93
accent
#DB4CCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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