#4D38C8#4D38C8

#4D38C8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.210 H 280.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4D38C8
RGBrgb(77, 56, 200)
HSLhsl(249, 57%, 50%)
HSVhsv(249, 72%, 78%)
CMYKcmyk(61.5%, 72%, 0%, 21.6%)
CIE-LABlab(35.15, 49.09, -71.57)
CIE-LCHlch(35.15, 86.79, 304.45°)
OKLaboklab(46.23% 0.0399 -0.2064)
OKLCHoklch(46.23% 0.21 280.9)
XYZxyz(14.8968, 8.5752, 55.5025)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38C8 #B3C838
analogous
#386BC8 #4D38C8 #9538C8
triadic
#4D38C8 #C84D38 #38C84D
tetradic
#4D38C8 #C8386B #B3C838 #38C895
square
#4D38C8 #C8386B #B3C838 #38C895
split-complementary
#4D38C8 #C89538 #6BC838
monochromatic
#281D69 #3A2A99 #4D38C8 #7868D5 #A398E3

Accessibility & contrast

On white

7.73
#4D38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38C8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38C8#FFFFFF#000000##FFFFFF
##4D38C81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d38c8;
/* rgb */ color: rgb(77, 56, 200);
/* oklch */ color: oklch(46.2% 0.210 280.9);
Tailwind
colors: {
  custom: {
    50: '#8d71da',
    500: '#4d38c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d38c8;
$custom-light: #8d71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38c8",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 248.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.21022,
    "h": 280.9
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#4D38C8
secondary
#C5CE8E
accent
#E048CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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