#4D3FAC#4D3FAC

#4D3FAC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.167 H 283.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4D3FAC
RGBrgb(77, 63, 172)
HSLhsl(248, 46%, 46%)
HSVhsv(248, 63%, 67%)
CMYKcmyk(55.2%, 63.4%, 0%, 32.5%)
CIE-LABlab(34.21, 36.35, -56.60)
CIE-LCHlch(34.21, 67.26, 302.71°)
OKLaboklab(44.81% 0.0381 -0.1625)
OKLCHoklch(44.81% 0.167 283.2)
XYZxyz(12.2822, 8.1106, 39.9400)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FAC #9EAC3F
analogous
#3F67AC #4D3FAC #833FAC
triadic
#4D3FAC #AC4D3F #3FAC4D
tetradic
#4D3FAC #AC3F67 #9EAC3F #3FAC83
square
#4D3FAC #AC3F67 #9EAC3F #3FAC83
split-complementary
#4D3FAC #AC833F #67AC3F
monochromatic
#251E52 #392F7F #4D3FAC #6F63C6 #988FD6

Accessibility & contrast

On white

8.01
#4D3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FAC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FAC#FFFFFF#000000##FFFFFF
##4D3FAC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#225A6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3fac;
/* rgb */ color: rgb(77, 63, 172);
/* oklch */ color: oklch(44.8% 0.167 283.2);
Tailwind
colors: {
  custom: {
    50: '#8875c6',
    500: '#4d3fac',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fac;
$custom-light: #8875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fac",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 247.706,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.16689,
    "h": 283.2
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#4D3FAC
secondary
#BAC186
accent
#D652C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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