#4D41D5#4D41D5

#4D41D5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.216 H 278.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4D41D5
RGBrgb(77, 65, 213)
HSLhsl(245, 64%, 55%)
HSVhsv(245, 69%, 84%)
CMYKcmyk(63.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(38.13, 48.16, -74.21)
CIE-LCHlch(38.13, 88.47, 302.98°)
OKLaboklab(48.72% 0.0313 -0.2141)
OKLCHoklch(48.72% 0.216 278.3)
XYZxyz(16.9572, 10.1611, 64.0056)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41D5 #C9D541
analogous
#417FD5 #4D41D5 #9741D5
triadic
#4D41D5 #D54D41 #41D54D
tetradic
#4D41D5 #D5417F #C9D541 #41D597
square
#4D41D5 #D5417F #C9D541 #41D597
split-complementary
#4D41D5 #D59741 #7FD541
monochromatic
#241C7F #3227B2 #4D41D5 #7C73E0 #ABA5EB

Accessibility & contrast

On white

6.93
#4D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4D41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41D5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41D5#FFFFFF#000000##FFFFFF
##4D41D51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d41d5;
/* rgb */ color: rgb(77, 65, 213);
/* oklch */ color: oklch(48.7% 0.216 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f77e3',
    500: '#4d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d41d5;
$custom-light: #8f77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41d5",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 244.865,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48717,
    "c": 0.21642,
    "h": 278.3
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#4D41D5
secondary
#D3D89A
accent
#E741D9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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