#4C39B4#4C39B4

#4C39B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.5% C 0.185 H 282.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C39B4
RGBrgb(76, 57, 180)
HSLhsl(249, 52%, 46%)
HSVhsv(249, 68%, 71%)
CMYKcmyk(57.8%, 68.3%, 0%, 29.4%)
CIE-LABlab(33.47, 42.24, -62.57)
CIE-LCHlch(33.47, 75.49, 304.02°)
OKLaboklab(44.46% 0.0413 -0.1801)
OKLCHoklch(44.46% 0.185 282.9)
XYZxyz(12.6793, 7.7572, 44.0003)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39B4 #A1B439
analogous
#3964B4 #4C39B4 #8A39B4
triadic
#4C39B4 #B44C39 #39B44C
tetradic
#4C39B4 #B43964 #A1B439 #39B48A
square
#4C39B4 #B43964 #A1B439 #39B48A
split-complementary
#4C39B4 #B48A39 #64B439
monochromatic
#251C57 #382A86 #4C39B4 #6F5ECC #998DDB

Accessibility & contrast

On white

8.23
#4C39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39B4
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39B4#FFFFFF#000000##FFFFFF
##4C39B41.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#125972
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c39b4;
/* rgb */ color: rgb(76, 57, 180);
/* oklch */ color: oklch(44.5% 0.185 282.9);
Tailwind
colors: {
  custom: {
    50: '#8971cb',
    500: '#4c39b4',
    950: '#000000',
  },
}
SCSS
$custom: #4c39b4;
$custom-light: #8971cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39b4",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 249.268,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4446,
    "c": 0.18475,
    "h": 282.9
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#4C39B4
secondary
#BBC583
accent
#DB4CC5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4C39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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