#4D2EFB#4D2EFB

#4D2EFB is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 50.3% C 0.276 H 276.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4D2EFB
RGBrgb(77, 46, 251)
HSLhsl(249, 96%, 58%)
HSVhsv(249, 82%, 98%)
CMYKcmyk(69.3%, 81.7%, 0%, 1.6%)
CIE-LABlab(38.72, 68.54, -94.84)
CIE-LCHlch(38.72, 117.01, 305.86°)
OKLaboklab(50.26% 0.032 -0.274)
OKLCHoklch(50.26% 0.276 276.7)
XYZxyz(21.4445, 10.4948, 92.1437)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EFB #DCFB2E
analogous
#2E75FB #4D2EFB #B32EFB
triadic
#4D2EFB #FB4D2E #2EFB4D
tetradic
#4D2EFB #FB2E75 #DCFB2E #2EFBB3
square
#4D2EFB #FB2E75 #DCFB2E #2EFBB3
split-complementary
#4D2EFB #FBB32E #75FB2E
monochromatic
#1D03AB #2704E7 #4D2EFB #806AFC #B3A6FD

Accessibility & contrast

On white

6.78
#4D2EFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D2EFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D2EFB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EFB#FFFFFF#000000##FFFFFF
##4D2EFB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2efb;
/* rgb */ color: rgb(77, 46, 251);
/* oklch */ color: oklch(50.3% 0.276 276.7);
Tailwind
colors: {
  custom: {
    50: '#976efe',
    500: '#4d2efb',
    950: '#000000',
  },
}
SCSS
$custom: #4d2efb;
$custom-light: #976efe;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2efb",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 251
  },
  "hsl": {
    "h": 249.073,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.2759,
    "h": 276.7
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#4D2EFB
secondary
#DFEB9A
accent
#FF29DF
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4D2EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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