#4D3FCA#4D3FCA

#4D3FCA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.205 H 279.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4D3FCA
RGBrgb(77, 63, 202)
HSLhsl(246, 57%, 52%)
HSVhsv(246, 69%, 79%)
CMYKcmyk(61.9%, 68.8%, 0%, 20.8%)
CIE-LABlab(36.74, 45.84, -70.14)
CIE-LCHlch(36.74, 83.78, 303.17°)
OKLaboklab(47.42% 0.0345 -0.2022)
OKLCHoklch(47.42% 0.205 279.7)
XYZxyz(15.4954, 9.3959, 56.8627)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FCA #BCCA3F
analogous
#3F77CA #4D3FCA #933FCA
triadic
#4D3FCA #CA4D3F #3FCA4D
tetradic
#4D3FCA #CA3F77 #BCCA3F #3FCA93
square
#4D3FCA #CA3F77 #BCCA3F #3FCA93
split-complementary
#4D3FCA #CA933F #77CA3F
monochromatic
#271F70 #382CA0 #4D3FCA #796FD7 #A69FE4

Accessibility & contrast

On white

7.29
#4D3FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3FCA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FCA#FFFFFF#000000##FFFFFF
##4D3FCA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d3fca;
/* rgb */ color: rgb(77, 63, 202);
/* oklch */ color: oklch(47.4% 0.205 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d76db',
    500: '#4d3fca',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fca;
$custom-light: #8d76db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fca",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 246.043,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.20513,
    "h": 279.7
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#4D3FCA
secondary
#CBD194
accent
#E048D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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