#4D3ECD#4D3ECD

#4D3ECD is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.210 H 279.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4D3ECD
RGBrgb(77, 62, 205)
HSLhsl(246, 59%, 52%)
HSVhsv(246, 70%, 80%)
CMYKcmyk(62.4%, 69.8%, 0%, 19.6%)
CIE-LABlab(36.80, 47.34, -71.77)
CIE-LCHlch(36.80, 85.98, 303.41°)
OKLaboklab(47.54% 0.0347 -0.207)
OKLCHoklch(47.54% 0.21 279.5)
XYZxyz(15.7991, 9.4296, 58.7333)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ECD #BECD3E
analogous
#3E76CD #4D3ECD #953ECD
triadic
#4D3ECD #CD4D3E #3ECD4D
tetradic
#4D3ECD #CD3E76 #BECD3E #3ECD95
square
#4D3ECD #CD3E76 #BECD3E #3ECD95
split-complementary
#4D3ECD #CD953E #76CD3E
monochromatic
#271E73 #372AA3 #4D3ECD #7A6FDA #A79FE6

Accessibility & contrast

On white

7.28
#4D3ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D3ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ECD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ECD#FFFFFF#000000##FFFFFF
##4D3ECD1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d3ecd;
/* rgb */ color: rgb(77, 62, 205);
/* oklch */ color: oklch(47.5% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d75dd',
    500: '#4d3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ecd;
$custom-light: #8d75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ecd",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 246.294,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.20991,
    "h": 279.5
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#4D3ECD
secondary
#CCD394
accent
#E246D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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