#4D41DF#4D41DF

#4D41DF is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.228 H 277.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4D41DF
RGBrgb(77, 65, 223)
HSLhsl(245, 71%, 56%)
HSVhsv(245, 71%, 87%)
CMYKcmyk(65.5%, 70.9%, 0%, 12.5%)
CIE-LABlab(39.04, 51.28, -78.45)
CIE-LCHlch(39.04, 93.72, 303.17°)
OKLaboklab(49.65% 0.0296 -0.2265)
OKLCHoklch(49.65% 0.228 277.4)
XYZxyz(18.2658, 10.6845, 70.8975)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41DF #D3DF41
analogous
#4184DF #4D41DF #9C41DF
triadic
#4D41DF #DF4D41 #41DF4D
tetradic
#4D41DF #DF4184 #D3DF41 #41DF9C
square
#4D41DF #DF4184 #D3DF41 #41DF9C
split-complementary
#4D41DF #DF9C41 #84DF41
monochromatic
#21188E #2D21C2 #4D41DF #7E75E8 #AFAAF1

Accessibility & contrast

On white

6.69
#4D41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4D41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41DF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41DF#FFFFFF#000000##FFFFFF
##4D41DF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E4
Deuteranopia (green-blind)
#0055DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d41df;
/* rgb */ color: rgb(77, 65, 223);
/* oklch */ color: oklch(49.6% 0.228 277.4);
Tailwind
colors: {
  custom: {
    50: '#9178ea',
    500: '#4d41df',
    950: '#000000',
  },
}
SCSS
$custom: #4d41df;
$custom-light: #9178ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41df",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 244.557,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.22845,
    "h": 277.4
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#4D41DF
secondary
#D9DE9D
accent
#EE3AE0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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