#4D3ECC#4D3ECC

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

Color values

HEX#4D3ECC
RGBrgb(77, 62, 204)
HSLhsl(246, 58%, 52%)
HSVhsv(246, 70%, 80%)
CMYKcmyk(62.3%, 69.6%, 0%, 20%)
CIE-LABlab(36.71, 47.02, -71.34)
CIE-LCHlch(36.71, 85.45, 303.39°)
OKLaboklab(47.45% 0.0349 -0.2057)
OKLCHoklch(47.45% 0.209 279.6)
XYZxyz(15.6788, 9.3815, 58.0996)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ECC #BDCC3E
analogous
#3E76CC #4D3ECC #943ECC
triadic
#4D3ECC #CC4D3E #3ECC4D
tetradic
#4D3ECC #CC3E76 #BDCC3E #3ECC94
square
#4D3ECC #CC3E76 #BDCC3E #3ECC94
split-complementary
#4D3ECC #CC943E #76CC3E
monochromatic
#271E72 #372BA2 #4D3ECC #7A6ED9 #A69FE6

Accessibility & contrast

On white

7.30
#4D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D3ECC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ECC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ECC#FFFFFF#000000##FFFFFF
##4D3ECC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d3ecc;
/* rgb */ color: rgb(77, 62, 204);
/* oklch */ color: oklch(47.5% 0.209 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d75dd',
    500: '#4d3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ecc;
$custom-light: #8d75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ecc",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 246.338,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47452,
    "c": 0.20868,
    "h": 279.6
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#4D3ECC
secondary
#CBD294
accent
#E146D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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