#4D34D7#4D34D7

#4D34D7 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.2% C 0.232 H 279.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4D34D7
RGBrgb(77, 52, 215)
HSLhsl(249, 67%, 52%)
HSVhsv(249, 76%, 84%)
CMYKcmyk(64.2%, 75.8%, 0%, 15.7%)
CIE-LABlab(35.87, 55.65, -79.09)
CIE-LCHlch(35.87, 96.70, 305.13°)
OKLaboklab(47.17% 0.0391 -0.2283)
OKLCHoklch(47.17% 0.232 279.7)
XYZxyz(16.5504, 8.9387, 65.1300)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34D7 #BED734
analogous
#346DD7 #4D34D7 #9E34D7
triadic
#4D34D7 #D74D34 #34D74D
tetradic
#4D34D7 #D7346D #BED734 #34D79E
square
#4D34D7 #D7346D #BED734 #34D79E
split-complementary
#4D34D7 #D79E34 #6DD734
monochromatic
#271879 #3722AC #4D34D7 #7A67E1 #A79AEB

Accessibility & contrast

On white

7.53
#4D34D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D34D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34D7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34D7#FFFFFF#000000##FFFFFF
##4D34D71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004ED4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d34d7;
/* rgb */ color: rgb(77, 52, 215);
/* oklch */ color: oklch(47.2% 0.232 279.7);
Tailwind
colors: {
  custom: {
    50: '#906fe5',
    500: '#4d34d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d34d7;
$custom-light: #906fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34d7",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 249.202,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.23165,
    "h": 279.7
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4D34D7
secondary
#CCD790
accent
#EA3ED0
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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