#4D41D8#4D41D8

#4D41D8 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.220 H 278.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4D41D8
RGBrgb(77, 65, 216)
HSLhsl(245, 66%, 55%)
HSVhsv(245, 70%, 85%)
CMYKcmyk(64.4%, 69.9%, 0%, 15.3%)
CIE-LABlab(38.40, 49.10, -75.49)
CIE-LCHlch(38.40, 90.05, 303.04°)
OKLaboklab(48.99% 0.0308 -0.2179)
OKLCHoklch(48.99% 0.22 278)
XYZxyz(17.3415, 10.3148, 66.0295)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41D8 #CCD841
analogous
#4181D8 #4D41D8 #9841D8
triadic
#4D41D8 #D84D41 #41D84D
tetradic
#4D41D8 #D84181 #CCD841 #41D898
square
#4D41D8 #D84181 #CCD841 #41D898
split-complementary
#4D41D8 #D89841 #81D841
monochromatic
#231B84 #3125B6 #4D41D8 #7D74E2 #ACA7ED

Accessibility & contrast

On white

6.86
#4D41D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D41D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41D8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41D8#FFFFFF#000000##FFFFFF
##4D41D81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d41d8;
/* rgb */ color: rgb(77, 65, 216);
/* oklch */ color: oklch(49.0% 0.220 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f77e5',
    500: '#4d41d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d41d8;
$custom-light: #8f77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41d8",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 244.768,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.22005,
    "h": 278
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#4D41D8
secondary
#D5DA9B
accent
#E93FDB
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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