#4D41D9#4D41D9

#4D41D9 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.221 H 278.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D41D9
RGBrgb(77, 65, 217)
HSLhsl(245, 67%, 55%)
HSVhsv(245, 70%, 85%)
CMYKcmyk(64.5%, 70%, 0%, 14.9%)
CIE-LABlab(38.49, 49.41, -75.92)
CIE-LCHlch(38.49, 90.58, 303.06°)
OKLaboklab(49.09% 0.0306 -0.2191)
OKLCHoklch(49.09% 0.221 278)
XYZxyz(17.4712, 10.3667, 66.7125)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41D9 #CDD941
analogous
#4181D9 #4D41D9 #9941D9
triadic
#4D41D9 #D94D41 #41D94D
tetradic
#4D41D9 #D94181 #CDD941 #41D999
square
#4D41D9 #D94181 #CDD941 #41D999
split-complementary
#4D41D9 #D99941 #81D941
monochromatic
#231B85 #3025B8 #4D41D9 #7D74E3 #ADA7ED

Accessibility & contrast

On white

6.83
#4D41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41D9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41D9#FFFFFF#000000##FFFFFF
##4D41D91.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d41d9;
/* rgb */ color: rgb(77, 65, 217);
/* oklch */ color: oklch(49.1% 0.221 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f77e6',
    500: '#4d41d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d41d9;
$custom-light: #8f77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41d9",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 244.737,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.22127,
    "h": 278
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#4D41D9
secondary
#D6DB9B
accent
#EA3EDC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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