#4D41B7#4D41B7

#4D41B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.179 H 281.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D41B7
RGBrgb(77, 65, 183)
HSLhsl(246, 48%, 49%)
HSVhsv(246, 64%, 72%)
CMYKcmyk(57.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(35.55, 38.65, -60.94)
CIE-LCHlch(35.55, 72.17, 302.38°)
OKLaboklab(46.06% 0.0352 -0.1753)
OKLCHoklch(46.06% 0.179 281.4)
XYZxyz(13.4954, 8.7764, 45.7734)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41B7 #ABB741
analogous
#4170B7 #4D41B7 #8841B7
triadic
#4D41B7 #B74D41 #41B74D
tetradic
#4D41B7 #B74170 #ABB741 #41B788
square
#4D41B7 #B74170 #ABB741 #41B788
split-complementary
#4D41B7 #B78841 #70B741
monochromatic
#27215D #3A318A #4D41B7 #756BCA #9F98DA

Accessibility & contrast

On white

7.62
#4D41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41B7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41B7#FFFFFF#000000##FFFFFF
##4D41B71.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#0E5F76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d41b7;
/* rgb */ color: rgb(77, 65, 183);
/* oklch */ color: oklch(46.1% 0.179 281.4);
Tailwind
colors: {
  custom: {
    50: '#8976ce',
    500: '#4d41b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d41b7;
$custom-light: #8976ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41b7",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 246.102,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.17876,
    "h": 281.4
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#4D41B7
secondary
#C0C68E
accent
#D751C9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4D41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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