#4D3DD7#4D3DD7

#4D3DD7 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.223 H 278.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4D3DD7
RGBrgb(77, 61, 215)
HSLhsl(246, 66%, 54%)
HSVhsv(246, 72%, 84%)
CMYKcmyk(64.2%, 71.6%, 0%, 15.7%)
CIE-LABlab(37.52, 50.98, -76.37)
CIE-LCHlch(37.52, 91.82, 303.73°)
OKLaboklab(48.34% 0.0336 -0.2204)
OKLCHoklch(48.34% 0.223 278.7)
XYZxyz(16.9911, 9.8202, 65.2769)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DD7 #C7D73D
analogous
#3D7AD7 #4D3DD7 #9A3DD7
triadic
#4D3DD7 #D74D3D #3DD74D
tetradic
#4D3DD7 #D73D7A #C7D73D #3DD79A
square
#4D3DD7 #D73D7A #C7D73D #3DD79A
split-complementary
#4D3DD7 #D79A3D #7AD73D
monochromatic
#251A7F #3325B2 #4D3DD7 #7C70E1 #AAA2EC

Accessibility & contrast

On white

7.08
#4D3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D3DD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DD7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DD7#FFFFFF#000000##FFFFFF
##4D3DD71.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDC
Deuteranopia (green-blind)
#0052D4
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d3dd7;
/* rgb */ color: rgb(77, 61, 215);
/* oklch */ color: oklch(48.3% 0.223 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f75e5',
    500: '#4d3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d3dd7;
$custom-light: #8f75e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3dd7",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 246.234,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.223,
    "h": 278.7
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#4D3DD7
secondary
#D2D997
accent
#E93FD7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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