#4C39BD#4C39BD

#4C39BD is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.3% C 0.196 H 281.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4C39BD
RGBrgb(76, 57, 189)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 70%, 74%)
CMYKcmyk(59.8%, 69.8%, 0%, 25.9%)
CIE-LABlab(34.26, 45.03, -66.59)
CIE-LCHlch(34.26, 80.38, 304.07°)
OKLaboklab(45.27% 0.0399 -0.1918)
OKLCHoklch(45.27% 0.196 281.7)
XYZxyz(13.6261, 8.1359, 48.9866)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39BD #AABD39
analogous
#3968BD #4C39BD #8E39BD
triadic
#4C39BD #BD4C39 #39BD4C
tetradic
#4C39BD #BD3968 #AABD39 #39BD8E
square
#4C39BD #BD3968 #AABD39 #39BD8E
split-complementary
#4C39BD #BD8E39 #68BD39
monochromatic
#261D5F #392B8E #4C39BD #7363D0 #9D92DE

Accessibility & contrast

On white

7.99
#4C39BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4C39BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39BD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39BD#FFFFFF#000000##FFFFFF
##4C39BD1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c39bd;
/* rgb */ color: rgb(76, 57, 189);
/* oklch */ color: oklch(45.3% 0.196 281.7);
Tailwind
colors: {
  custom: {
    50: '#8b71d2',
    500: '#4c39bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c39bd;
$custom-light: #8b71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39bd",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 248.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.19595,
    "h": 281.7
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#4C39BD
secondary
#C0C989
accent
#DD4BC8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4C39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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