#4D41C2#4D41C2

#4D41C2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.193 H 280.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4D41C2
RGBrgb(77, 65, 194)
HSLhsl(246, 51%, 51%)
HSVhsv(246, 66%, 76%)
CMYKcmyk(60.3%, 66.5%, 0%, 23.9%)
CIE-LABlab(36.47, 42.15, -65.91)
CIE-LCHlch(36.47, 78.24, 302.60°)
OKLaboklab(47.01% 0.034 -0.1898)
OKLCHoklch(47.01% 0.193 280.1)
XYZxyz(14.6854, 9.2524, 52.0405)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C2 #B6C241
analogous
#4176C2 #4D41C2 #8D41C2
triadic
#4D41C2 #C24D41 #41C24D
tetradic
#4D41C2 #C24176 #B6C241 #41C28D
square
#4D41C2 #C24176 #B6C241 #41C28D
split-complementary
#4D41C2 #C28D41 #76C241
monochromatic
#282167 #3A3096 #4D41C2 #786FD1 #A49EE0

Accessibility & contrast

On white

7.37
#4D41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4D41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41C2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41C2#FFFFFF#000000##FFFFFF
##4D41C21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d41c2;
/* rgb */ color: rgb(77, 65, 194);
/* oklch */ color: oklch(47.0% 0.193 280.1);
Tailwind
colors: {
  custom: {
    50: '#8b77d5',
    500: '#4d41c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c2;
$custom-light: #8b77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c2",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 245.581,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47009,
    "c": 0.19287,
    "h": 280.1
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#4D41C2
secondary
#C7CC93
accent
#DB4DCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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