#4D3EAC#4D3EAC

#4D3EAC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.168 H 283.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4D3EAC
RGBrgb(77, 62, 172)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 67%)
CMYKcmyk(55.2%, 64%, 0%, 32.5%)
CIE-LABlab(33.98, 36.96, -56.97)
CIE-LCHlch(33.98, 67.90, 302.97°)
OKLaboklab(44.65% 0.0391 -0.1636)
OKLCHoklch(44.65% 0.168 283.4)
XYZxyz(12.2273, 8.0009, 39.9217)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EAC #9DAC3E
analogous
#3E66AC #4D3EAC #843EAC
triadic
#4D3EAC #AC4D3E #3EAC4D
tetradic
#4D3EAC #AC3E66 #9DAC3E #3EAC84
square
#4D3EAC #AC3E66 #9DAC3E #3EAC84
split-complementary
#4D3EAC #AC843E #66AC3E
monochromatic
#251E52 #392E7F #4D3EAC #6F61C6 #988ED6

Accessibility & contrast

On white

8.08
#4D3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EAC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EAC#FFFFFF#000000##FFFFFF
##4D3EAC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#22596F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3eac;
/* rgb */ color: rgb(77, 62, 172);
/* oklch */ color: oklch(44.6% 0.168 283.4);
Tailwind
colors: {
  custom: {
    50: '#8874c6',
    500: '#4d3eac',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eac;
$custom-light: #8874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eac",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 248.182,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.16818,
    "h": 283.4
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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