#4C39BB#4C39BB

#4C39BB is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.193 H 282.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4C39BB
RGBrgb(76, 57, 187)
HSLhsl(249, 53%, 48%)
HSVhsv(249, 70%, 73%)
CMYKcmyk(59.4%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.09, 44.41, -65.70)
CIE-LCHlch(34.09, 79.30, 304.06°)
OKLaboklab(45.09% 0.0402 -0.1892)
OKLCHoklch(45.09% 0.193 282)
XYZxyz(13.4105, 8.0497, 47.8512)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39BB #A8BB39
analogous
#3967BB #4C39BB #8D39BB
triadic
#4C39BB #BB4C39 #39BB4C
tetradic
#4C39BB #BB3967 #A8BB39 #39BB8D
square
#4C39BB #BB3967 #A8BB39 #39BB8D
split-complementary
#4C39BB #BB8D39 #67BB39
monochromatic
#261C5D #392B8C #4C39BB #7262CF #9C91DD

Accessibility & contrast

On white

8.05
#4C39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4C39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39BB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39BB#FFFFFF#000000##FFFFFF
##4C39BB1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c39bb;
/* rgb */ color: rgb(76, 57, 187);
/* oklch */ color: oklch(45.1% 0.193 282.0);
Tailwind
colors: {
  custom: {
    50: '#8a71d1',
    500: '#4c39bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c39bb;
$custom-light: #8a71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39bb",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 248.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.19347,
    "h": 282
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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