#4D41C0#4D41C0

#4D41C0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.190 H 280.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4D41C0
RGBrgb(77, 65, 192)
HSLhsl(246, 50%, 50%)
HSVhsv(246, 66%, 75%)
CMYKcmyk(59.9%, 66.1%, 0%, 24.7%)
CIE-LABlab(36.30, 41.52, -65.02)
CIE-LCHlch(36.30, 77.14, 302.56°)
OKLaboklab(46.84% 0.0342 -0.1872)
OKLCHoklch(46.84% 0.19 280.4)
XYZxyz(14.4623, 9.1631, 50.8655)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C0 #B4C041
analogous
#4175C0 #4D41C0 #8C41C0
triadic
#4D41C0 #C04D41 #41C04D
tetradic
#4D41C0 #C04175 #B4C041 #41C08C
square
#4D41C0 #C04175 #B4C041 #41C08C
split-complementary
#4D41C0 #C08C41 #75C041
monochromatic
#282265 #3A3193 #4D41C0 #786FCF #A39DDE

Accessibility & contrast

On white

7.41
#4D41C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4D41C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41C0
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41C0#FFFFFF#000000##FFFFFF
##4D41C01.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d41c0;
/* rgb */ color: rgb(77, 65, 192);
/* oklch */ color: oklch(46.8% 0.190 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b77d4',
    500: '#4d41c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c0;
$custom-light: #8b77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c0",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 245.669,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.19033,
    "h": 280.4
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#4D41C0
secondary
#C5CB92
accent
#DA4ECD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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