#4D3FAB#4D3FAB

#4D3FAB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.166 H 283.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4D3FAB
RGBrgb(77, 63, 171)
HSLhsl(248, 46%, 46%)
HSVhsv(248, 63%, 67%)
CMYKcmyk(55%, 63.2%, 0%, 32.9%)
CIE-LABlab(34.13, 36.03, -56.13)
CIE-LCHlch(34.13, 66.70, 302.70°)
OKLaboklab(44.73% 0.0381 -0.1611)
OKLCHoklch(44.73% 0.166 283.3)
XYZxyz(12.1865, 8.0724, 39.4362)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FAB #9DAB3F
analogous
#3F67AB #4D3FAB #833FAB
triadic
#4D3FAB #AB4D3F #3FAB4D
tetradic
#4D3FAB #AB3F67 #9DAB3F #3FAB83
square
#4D3FAB #AB3F67 #9DAB3F #3FAB83
split-complementary
#4D3FAB #AB833F #67AB3F
monochromatic
#251E52 #392F7E #4D3FAB #6F62C5 #988FD6

Accessibility & contrast

On white

8.03
#4D3FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D3FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FAB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FAB#FFFFFF#000000##FFFFFF
##4D3FAB1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#23596F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3fab;
/* rgb */ color: rgb(77, 63, 171);
/* oklch */ color: oklch(44.7% 0.166 283.3);
Tailwind
colors: {
  custom: {
    50: '#8875c5',
    500: '#4d3fab',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fab;
$custom-light: #8875c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fab",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 247.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.16557,
    "h": 283.3
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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