#4D41B3#4D41B3

#4D41B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.174 H 281.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4D41B3
RGBrgb(77, 65, 179)
HSLhsl(246, 47%, 48%)
HSVhsv(246, 64%, 70%)
CMYKcmyk(57%, 63.7%, 0%, 29.8%)
CIE-LABlab(35.23, 37.37, -59.11)
CIE-LCHlch(35.23, 69.93, 302.30°)
OKLaboklab(45.73% 0.0356 -0.1699)
OKLCHoklch(45.73% 0.174 281.8)
XYZxyz(13.0850, 8.6122, 43.6119)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41B3 #A7B341
analogous
#416EB3 #4D41B3 #8641B3
triadic
#4D41B3 #B34D41 #41B34D
tetradic
#4D41B3 #B3416E #A7B341 #41B386
square
#4D41B3 #B3416E #A7B341 #41B386
split-complementary
#4D41B3 #B38641 #6EB341
monochromatic
#262059 #3A3186 #4D41B3 #7369C8 #9D96D9

Accessibility & contrast

On white

7.71
#4D41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41B3#FFFFFF#000000##FFFFFF
##4D41B31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#175D74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d41b3;
/* rgb */ color: rgb(77, 65, 179);
/* oklch */ color: oklch(45.7% 0.174 281.8);
Tailwind
colors: {
  custom: {
    50: '#8976cb',
    500: '#4d41b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d41b3;
$custom-light: #8976cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41b3",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 246.316,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.17354,
    "h": 281.8
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#4D41B3
secondary
#BEC48B
accent
#D651C8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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