#4D41B9#4D41B9

#4D41B9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.181 H 281.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4D41B9
RGBrgb(77, 65, 185)
HSLhsl(246, 48%, 49%)
HSVhsv(246, 65%, 73%)
CMYKcmyk(58.4%, 64.9%, 0%, 27.5%)
CIE-LABlab(35.71, 39.29, -61.86)
CIE-LCHlch(35.71, 73.28, 302.42°)
OKLaboklab(46.23% 0.035 -0.1779)
OKLCHoklch(46.23% 0.181 281.1)
XYZxyz(13.7051, 8.8602, 46.8775)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41B9 #ADB941
analogous
#4171B9 #4D41B9 #8941B9
triadic
#4D41B9 #B94D41 #41B94D
tetradic
#4D41B9 #B94171 #ADB941 #41B989
square
#4D41B9 #B94171 #ADB941 #41B989
split-complementary
#4D41B9 #B98941 #71B941
monochromatic
#27215E #3A318C #4D41B9 #756CCB #A099DB

Accessibility & contrast

On white

7.58
#4D41B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D41B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41B9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41B9#FFFFFF#000000##FFFFFF
##4D41B91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#085F77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d41b9;
/* rgb */ color: rgb(77, 65, 185);
/* oklch */ color: oklch(46.2% 0.181 281.1);
Tailwind
colors: {
  custom: {
    50: '#8a76cf',
    500: '#4d41b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d41b9;
$custom-light: #8a76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41b9",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 246,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.18136,
    "h": 281.1
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#4D41B9
secondary
#C2C78F
accent
#D850CA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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