#4C38BB#4C38BB

#4C38BB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.195 H 282.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4C38BB
RGBrgb(76, 56, 187)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 70%, 73%)
CMYKcmyk(59.4%, 70.1%, 0%, 26.7%)
CIE-LABlab(33.88, 44.97, -66.04)
CIE-LCHlch(33.88, 79.89, 304.26°)
OKLaboklab(44.94% 0.041 -0.1902)
OKLCHoklch(44.94% 0.195 282.2)
XYZxyz(13.3615, 7.9518, 47.8348)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C38BB #A7BB38
analogous
#3866BB #4C38BB #8D38BB
triadic
#4C38BB #BB4C38 #38BB4C
tetradic
#4C38BB #BB3866 #A7BB38 #38BB8D
square
#4C38BB #BB3866 #A7BB38 #38BB8D
split-complementary
#4C38BB #BB8D38 #66BB38
monochromatic
#261C5D #392A8C #4C38BB #7261D0 #9C90DE

Accessibility & contrast

On white

8.11
#4C38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4C38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C38BB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C38BB#FFFFFF#000000##FFFFFF
##4C38BB1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c38bb;
/* rgb */ color: rgb(76, 56, 187);
/* oklch */ color: oklch(44.9% 0.195 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a71d1',
    500: '#4c38bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c38bb;
$custom-light: #8a71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c38bb",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 249.16,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.1946,
    "h": 282.2
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#4C38BB
secondary
#BEC886
accent
#DD4BC7
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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