#4D38CC#4D38CC

#4D38CC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.215 H 280.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4D38CC
RGBrgb(77, 56, 204)
HSLhsl(249, 59%, 51%)
HSVhsv(249, 73%, 80%)
CMYKcmyk(62.3%, 72.5%, 0%, 20%)
CIE-LABlab(35.53, 50.31, -73.28)
CIE-LCHlch(35.53, 88.89, 304.47°)
OKLaboklab(46.61% 0.0391 -0.2114)
OKLCHoklch(46.61% 0.215 280.5)
XYZxyz(15.3704, 8.7646, 57.9968)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38CC #B7CC38
analogous
#386DCC #4D38CC #9738CC
triadic
#4D38CC #CC4D38 #38CC4D
tetradic
#4D38CC #CC386D #B7CC38 #38CC97
square
#4D38CC #CC386D #B7CC38 #38CC97
split-complementary
#4D38CC #CC9738 #6DCC38
monochromatic
#281C6E #39299E #4D38CC #7969D8 #A499E5

Accessibility & contrast

On white

7.63
#4D38CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4D38CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38CC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38CC#FFFFFF#000000##FFFFFF
##4D38CC1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d38cc;
/* rgb */ color: rgb(77, 56, 204);
/* oklch */ color: oklch(46.6% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e71dd',
    500: '#4d38cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d38cc;
$custom-light: #8e71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38cc",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 248.514,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.21499,
    "h": 280.5
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#4D38CC
secondary
#C7D18F
accent
#E245CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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