#4D41C4#4D41C4

#4D41C4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.2% C 0.195 H 279.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4D41C4
RGBrgb(77, 65, 196)
HSLhsl(245, 53%, 51%)
HSVhsv(245, 67%, 77%)
CMYKcmyk(60.7%, 66.8%, 0%, 23.1%)
CIE-LABlab(36.64, 42.79, -66.80)
CIE-LCHlch(36.64, 79.33, 302.64°)
OKLaboklab(47.19% 0.0337 -0.1925)
OKLCHoklch(47.19% 0.195 279.9)
XYZxyz(14.9115, 9.3428, 53.2314)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C4 #B8C441
analogous
#4176C4 #4D41C4 #8E41C4
triadic
#4D41C4 #C44D41 #41C44D
tetradic
#4D41C4 #C44176 #B8C441 #41C48E
square
#4D41C4 #C44176 #B8C441 #41C48E
split-complementary
#4D41C4 #C48E41 #76C441
monochromatic
#28216A #392F98 #4D41C4 #7970D3 #A49EE1

Accessibility & contrast

On white

7.32
#4D41C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4D41C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41C4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41C4#FFFFFF#000000##FFFFFF
##4D41C41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d41c4;
/* rgb */ color: rgb(77, 65, 196);
/* oklch */ color: oklch(47.2% 0.195 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c77d7',
    500: '#4d41c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c4;
$custom-light: #8c77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c4",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 245.496,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.19539,
    "h": 279.9
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#4D41C4
secondary
#C8CD93
accent
#DC4CCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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