#4D2AFE#4D2AFE

#4D2AFE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 50.2% C 0.282 H 276.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4D2AFE
RGBrgb(77, 42, 254)
HSLhsl(250, 99%, 58%)
HSVhsv(250, 83%, 100%)
CMYKcmyk(69.7%, 83.5%, 0%, 0.4%)
CIE-LABlab(38.53, 70.89, -96.83)
CIE-LCHlch(38.53, 120.01, 306.21°)
OKLaboklab(50.22% 0.0324 -0.2797)
OKLCHoklch(50.22% 0.282 276.6)
XYZxyz(21.7721, 10.3874, 94.6043)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AFE #DBFE2A
analogous
#2A71FE #4D2AFE #B72AFE
triadic
#4D2AFE #FE4D2A #2AFE4D
tetradic
#4D2AFE #FE2A71 #DBFE2A #2AFEB7
square
#4D2AFE #FE2A71 #DBFE2A #2AFEB7
split-complementary
#4D2AFE #FEB72A #71FE2A
monochromatic
#1D01AD #2801EA #4D2AFE #8067FE #B3A4FF

Accessibility & contrast

On white

6.82
#4D2AFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4D2AFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D2AFE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AFE#FFFFFF#000000##FFFFFF
##4D2AFE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FF
Deuteranopia (green-blind)
#0052FB
Tritanopia (blue-blind)
#007099
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d2afe;
/* rgb */ color: rgb(77, 42, 254);
/* oklch */ color: oklch(50.2% 0.282 276.6);
Tailwind
colors: {
  custom: {
    50: '#986dff',
    500: '#4d2afe',
    950: '#000000',
  },
}
SCSS
$custom: #4d2afe;
$custom-light: #986dff;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2afe",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 254
  },
  "hsl": {
    "h": 249.906,
    "s": 99.065,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.28162,
    "h": 276.6
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#4D2AFE
secondary
#DEEC98
accent
#FF29DC
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4D2AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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