#4D41BB#4D41BB

#4D41BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.184 H 280.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4D41BB
RGBrgb(77, 65, 187)
HSLhsl(246, 48%, 49%)
HSVhsv(246, 65%, 73%)
CMYKcmyk(58.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(35.88, 39.92, -62.77)
CIE-LCHlch(35.88, 74.39, 302.46°)
OKLaboklab(46.4% 0.0348 -0.1806)
OKLCHoklch(46.4% 0.184 280.9)
XYZxyz(13.9177, 8.9453, 47.9973)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41BB #AFBB41
analogous
#4172BB #4D41BB #8A41BB
triadic
#4D41BB #BB4D41 #41BB4D
tetradic
#4D41BB #BB4172 #AFBB41 #41BB8A
square
#4D41BB #BB4172 #AFBB41 #41BB8A
split-complementary
#4D41BB #BB8A41 #72BB41
monochromatic
#282160 #3A318E #4D41BB #766DCC #A19ADC

Accessibility & contrast

On white

7.53
#4D41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41BB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41BB#FFFFFF#000000##FFFFFF
##4D41BB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#016078
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d41bb;
/* rgb */ color: rgb(77, 65, 187);
/* oklch */ color: oklch(46.4% 0.184 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a76d0',
    500: '#4d41bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d41bb;
$custom-light: #8a76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41bb",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 245.902,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46402,
    "c": 0.18393,
    "h": 280.9
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#4D41BB
secondary
#C3C890
accent
#D850CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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