#4D41A2#4D41A2

#4D41A2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.151 H 284.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4D41A2
RGBrgb(77, 65, 162)
HSLhsl(247, 43%, 45%)
HSVhsv(247, 60%, 64%)
CMYKcmyk(52.5%, 59.9%, 0%, 36.5%)
CIE-LABlab(33.91, 31.95, -51.09)
CIE-LCHlch(33.91, 60.25, 302.02°)
OKLaboklab(44.35% 0.0365 -0.1463)
OKLCHoklch(44.35% 0.151 284)
XYZxyz(11.4705, 7.9664, 35.1087)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41A2 #96A241
analogous
#4166A2 #4D41A2 #7E41A2
triadic
#4D41A2 #A24D41 #41A24D
tetradic
#4D41A2 #A24166 #96A241 #41A27E
square
#4D41A2 #A24166 #96A241 #41A27E
split-complementary
#4D41A2 #A27E41 #66A241
monochromatic
#231E4B #382F76 #4D41A2 #6C61BF #958CD1

Accessibility & contrast

On white

8.10
#4D41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41A2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41A2#FFFFFF#000000##FFFFFF
##4D41A21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#2B586B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d41a2;
/* rgb */ color: rgb(77, 65, 162);
/* oklch */ color: oklch(44.4% 0.151 284.0);
Tailwind
colors: {
  custom: {
    50: '#8676be',
    500: '#4d41a2',
    950: '#000000',
  },
}
SCSS
$custom: #4d41a2;
$custom-light: #8676be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41a2",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 247.423,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.15078,
    "h": 284
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#4D41A2
secondary
#B5BC83
accent
#D355C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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