#4D3FA2#4D3FA2

#4D3FA2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.154 H 284.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4D3FA2
RGBrgb(77, 63, 162)
HSLhsl(248, 44%, 44%)
HSVhsv(248, 61%, 64%)
CMYKcmyk(52.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(33.44, 33.18, -51.86)
CIE-LCHlch(33.44, 61.57, 302.61°)
OKLaboklab(44% 0.0387 -0.1486)
OKLCHoklch(44% 0.154 284.6)
XYZxyz(11.3577, 7.7408, 35.0711)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FA2 #94A23F
analogous
#3F63A2 #4D3FA2 #7F3FA2
triadic
#4D3FA2 #A24D3F #3FA24D
tetradic
#4D3FA2 #A23F63 #94A23F #3FA27F
square
#4D3FA2 #A23F63 #94A23F #3FA27F
split-complementary
#4D3FA2 #A27F3F #63A23F
monochromatic
#231D4A #382E76 #4D3FA2 #6C5EC0 #948AD1

Accessibility & contrast

On white

8.24
#4D3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FA2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FA2#FFFFFF#000000##FFFFFF
##4D3FA21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#2C566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3fa2;
/* rgb */ color: rgb(77, 63, 162);
/* oklch */ color: oklch(44.0% 0.154 284.6);
Tailwind
colors: {
  custom: {
    50: '#8675be',
    500: '#4d3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fa2;
$custom-light: #8675be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fa2",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 248.485,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.15353,
    "h": 284.6
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#4D3FA2
secondary
#B4BC81
accent
#D454C2
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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