#4D38D0#4D38D0

#4D38D0 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.220 H 280.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4D38D0
RGBrgb(77, 56, 208)
HSLhsl(248, 62%, 52%)
HSVhsv(248, 73%, 82%)
CMYKcmyk(63%, 73.1%, 0%, 18.4%)
CIE-LABlab(35.91, 51.52, -74.98)
CIE-LCHlch(35.91, 90.97, 304.49°)
OKLaboklab(46.99% 0.0383 -0.2164)
OKLCHoklch(46.99% 0.22 280)
XYZxyz(15.8563, 8.9590, 60.5560)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38D0 #BBD038
analogous
#386FD0 #4D38D0 #9938D0
triadic
#4D38D0 #D04D38 #38D04D
tetradic
#4D38D0 #D0386F #BBD038 #38D099
square
#4D38D0 #D0386F #BBD038 #38D099
split-complementary
#4D38D0 #D09938 #6FD038
monochromatic
#271B73 #3827A4 #4D38D0 #796ADC #A69BE7

Accessibility & contrast

On white

7.52
#4D38D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D38D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38D0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38D0#FFFFFF#000000##FFFFFF
##4D38D01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004FCD
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d38d0;
/* rgb */ color: rgb(77, 56, 208);
/* oklch */ color: oklch(47.0% 0.220 280.0);
Tailwind
colors: {
  custom: {
    50: '#8e71e0',
    500: '#4d38d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d38d0;
$custom-light: #8e71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38d0",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 248.289,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.21972,
    "h": 280
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#4D38D0
secondary
#CAD391
accent
#E543CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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