#4D38CF#4D38CF

#4D38CF is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.219 H 280.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4D38CF
RGBrgb(77, 56, 207)
HSLhsl(248, 61%, 52%)
HSVhsv(248, 73%, 81%)
CMYKcmyk(62.8%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.81, 51.22, -74.56)
CIE-LCHlch(35.81, 90.46, 304.49°)
OKLaboklab(46.9% 0.0385 -0.2151)
OKLCHoklch(46.9% 0.219 280.1)
XYZxyz(15.7337, 8.9099, 59.9101)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38CF #BACF38
analogous
#386FCF #4D38CF #9838CF
triadic
#4D38CF #CF4D38 #38CF4D
tetradic
#4D38CF #CF386F #BACF38 #38CF98
square
#4D38CF #CF386F #BACF38 #38CF98
split-complementary
#4D38CF #CF9838 #6FCF38
monochromatic
#271B71 #3827A3 #4D38CF #7969DB #A59BE7

Accessibility & contrast

On white

7.55
#4D38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38CF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38CF#FFFFFF#000000##FFFFFF
##4D38CF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d38cf;
/* rgb */ color: rgb(77, 56, 207);
/* oklch */ color: oklch(46.9% 0.219 280.1);
Tailwind
colors: {
  custom: {
    50: '#8e71df',
    500: '#4d38cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d38cf;
$custom-light: #8e71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38cf",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 248.344,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.21854,
    "h": 280.1
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#4D38CF
secondary
#C9D390
accent
#E444CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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