#4D3DCA#4D3DCA

#4D3DCA is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.1% C 0.207 H 280.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4D3DCA
RGBrgb(77, 61, 202)
HSLhsl(247, 57%, 52%)
HSVhsv(247, 70%, 79%)
CMYKcmyk(61.9%, 69.8%, 0%, 20.8%)
CIE-LABlab(36.33, 46.96, -70.81)
CIE-LCHlch(36.33, 84.97, 303.55°)
OKLaboklab(47.12% 0.0359 -0.2042)
OKLCHoklch(47.12% 0.207 280)
XYZxyz(15.3866, 9.1784, 56.8264)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DCA #BACA3D
analogous
#3D73CA #4D3DCA #943DCA
triadic
#4D3DCA #CA4D3D #3DCA4D
tetradic
#4D3DCA #CA3D73 #BACA3D #3DCA94
square
#4D3DCA #CA3D73 #BACA3D #3DCA94
split-complementary
#4D3DCA #CA943D #73CA3D
monochromatic
#271E6E #382B9F #4D3DCA #796DD7 #A59DE4

Accessibility & contrast

On white

7.40
#4D3DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4D3DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DCA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DCA#FFFFFF#000000##FFFFFF
##4D3DCA1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d3dca;
/* rgb */ color: rgb(77, 61, 202);
/* oklch */ color: oklch(47.1% 0.207 280.0);
Tailwind
colors: {
  custom: {
    50: '#8d74db',
    500: '#4d3dca',
    950: '#000000',
  },
}
SCSS
$custom: #4d3dca;
$custom-light: #8d74db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3dca",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 246.809,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.20733,
    "h": 280
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#4D3DCA
secondary
#C9D092
accent
#E047CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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