#4D34CD#4D34CD

#4D34CD is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.2% C 0.220 H 280.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4D34CD
RGBrgb(77, 52, 205)
HSLhsl(250, 60%, 50%)
HSVhsv(250, 75%, 80%)
CMYKcmyk(62.4%, 74.6%, 0%, 19.6%)
CIE-LABlab(34.88, 52.69, -74.92)
CIE-LCHlch(34.88, 91.60, 305.12°)
OKLaboklab(46.18% 0.0415 -0.2162)
OKLCHoklch(46.18% 0.22 280.9)
XYZxyz(15.3045, 8.4404, 58.5684)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34CD #B4CD34
analogous
#3467CD #4D34CD #9934CD
triadic
#4D34CD #CD4D34 #34CD4D
tetradic
#4D34CD #CD3467 #B4CD34 #34CD99
square
#4D34CD #CD3467 #B4CD34 #34CD99
split-complementary
#4D34CD #CD9934 #67CD34
monochromatic
#281B6C #3A279D #4D34CD #7865D9 #A396E5

Accessibility & contrast

On white

7.81
#4D34CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D34CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34CD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34CD#FFFFFF#000000##FFFFFF
##4D34CD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d34cd;
/* rgb */ color: rgb(77, 52, 205);
/* oklch */ color: oklch(46.2% 0.220 280.9);
Tailwind
colors: {
  custom: {
    50: '#8e6fde',
    500: '#4d34cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d34cd;
$custom-light: #8e6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34cd",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 249.804,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.22011,
    "h": 280.9
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#4D34CD
secondary
#C5D18C
accent
#E444CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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