#4D3DC1#4D3DC1

#4D3DC1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.3% C 0.196 H 281.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4D3DC1
RGBrgb(77, 61, 193)
HSLhsl(247, 52%, 50%)
HSVhsv(247, 68%, 76%)
CMYKcmyk(60.1%, 68.4%, 0%, 24.3%)
CIE-LABlab(35.53, 44.15, -66.86)
CIE-LCHlch(35.53, 80.13, 303.44°)
OKLaboklab(46.31% 0.0374 -0.1926)
OKLCHoklch(46.31% 0.196 281)
XYZxyz(14.3519, 8.7645, 51.3772)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DC1 #B1C13D
analogous
#3D6FC1 #4D3DC1 #8F3DC1
triadic
#4D3DC1 #C14D3D #3DC14D
tetradic
#4D3DC1 #C13D6F #B1C13D #3DC18F
square
#4D3DC1 #C13D6F #B1C13D #3DC18F
split-complementary
#4D3DC1 #C18F3D #6FC13D
monochromatic
#282064 #3A2E92 #4D3DC1 #776BD0 #A299DF

Accessibility & contrast

On white

7.63
#4D3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4D3DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DC1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DC1#FFFFFF#000000##FFFFFF
##4D3DC11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3dc1;
/* rgb */ color: rgb(77, 61, 193);
/* oklch */ color: oklch(46.3% 0.196 281.0);
Tailwind
colors: {
  custom: {
    50: '#8b74d5',
    500: '#4d3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3dc1;
$custom-light: #8b74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3dc1",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 247.273,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.19623,
    "h": 281
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#4D3DC1
secondary
#C4CB8F
accent
#DB4CCA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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