#4D34D6#4D34D6

#4D34D6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.1% C 0.231 H 279.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4D34D6
RGBrgb(77, 52, 214)
HSLhsl(249, 66%, 52%)
HSVhsv(249, 76%, 84%)
CMYKcmyk(64%, 75.7%, 0%, 16.1%)
CIE-LABlab(35.77, 55.35, -78.68)
CIE-LCHlch(35.77, 96.20, 305.13°)
OKLaboklab(47.07% 0.0393 -0.2271)
OKLCHoklch(47.07% 0.231 279.8)
XYZxyz(16.4223, 8.8875, 64.4553)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34D6 #BDD634
analogous
#346CD6 #4D34D6 #9E34D6
triadic
#4D34D6 #D64D34 #34D64D
tetradic
#4D34D6 #D6346C #BDD634 #34D69E
square
#4D34D6 #D6346C #BDD634 #34D69E
split-complementary
#4D34D6 #D69E34 #6CD634
monochromatic
#271877 #3722AA #4D34D6 #7A67E0 #A69AEB

Accessibility & contrast

On white

7.56
#4D34D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D34D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34D6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34D6#FFFFFF#000000##FFFFFF
##4D34D61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADB
Deuteranopia (green-blind)
#004ED3
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d34d6;
/* rgb */ color: rgb(77, 52, 214);
/* oklch */ color: oklch(47.1% 0.231 279.8);
Tailwind
colors: {
  custom: {
    50: '#906fe4',
    500: '#4d34d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d34d6;
$custom-light: #906fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34d6",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 214
  },
  "hsl": {
    "h": 249.259,
    "s": 66.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.2305,
    "h": 279.8
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#4D34D6
secondary
#CBD690
accent
#E93ECF
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D34D6

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

Preview Lab → · Contrast checker → · Palette generator →

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