#4D41D7#4D41D7

#4D41D7 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.219 H 278.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4D41D7
RGBrgb(77, 65, 215)
HSLhsl(245, 65%, 55%)
HSVhsv(245, 70%, 84%)
CMYKcmyk(64.2%, 69.8%, 0%, 15.7%)
CIE-LABlab(38.31, 48.78, -75.06)
CIE-LCHlch(38.31, 89.52, 303.02°)
OKLaboklab(48.9% 0.0309 -0.2166)
OKLCHoklch(48.9% 0.219 278.1)
XYZxyz(17.2127, 10.2633, 65.3507)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41D7 #CBD741
analogous
#4180D7 #4D41D7 #9841D7
triadic
#4D41D7 #D74D41 #41D74D
tetradic
#4D41D7 #D74180 #CBD741 #41D798
square
#4D41D7 #D74180 #CBD741 #41D798
split-complementary
#4D41D7 #D79841 #80D741
monochromatic
#241B82 #3126B5 #4D41D7 #7C74E2 #ACA6EC

Accessibility & contrast

On white

6.88
#4D41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4D41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41D7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41D7#FFFFFF#000000##FFFFFF
##4D41D71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d41d7;
/* rgb */ color: rgb(77, 65, 215);
/* oklch */ color: oklch(48.9% 0.219 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f77e5',
    500: '#4d41d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d41d7;
$custom-light: #8f77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41d7",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 244.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.21885,
    "h": 278.1
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#4D41D7
secondary
#D4D99A
accent
#E840DB
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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