#4C39B5#4C39B5

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

Color values

HEX#4C39B5
RGBrgb(76, 57, 181)
HSLhsl(249, 52%, 47%)
HSVhsv(249, 69%, 71%)
CMYKcmyk(58%, 68.5%, 0%, 29%)
CIE-LABlab(33.56, 42.55, -63.02)
CIE-LCHlch(33.56, 76.04, 304.03°)
OKLaboklab(44.55% 0.0412 -0.1814)
OKLCHoklch(44.55% 0.186 282.8)
XYZxyz(12.7815, 7.7981, 44.5388)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39B5 #A2B539
analogous
#3964B5 #4C39B5 #8A39B5
triadic
#4C39B5 #B54C39 #39B54C
tetradic
#4C39B5 #B53964 #A2B539 #39B58A
square
#4C39B5 #B53964 #A2B539 #39B58A
split-complementary
#4C39B5 #B58A39 #64B539
monochromatic
#251C58 #382A86 #4C39B5 #705FCD #998DDB

Accessibility & contrast

On white

8.20
#4C39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4C39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39B5
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39B5#FFFFFF#000000##FFFFFF
##4C39B51.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#105972
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c39b5;
/* rgb */ color: rgb(76, 57, 181);
/* oklch */ color: oklch(44.5% 0.186 282.8);
Tailwind
colors: {
  custom: {
    50: '#8971cc',
    500: '#4c39b5',
    950: '#000000',
  },
}
SCSS
$custom: #4c39b5;
$custom-light: #8971cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39b5",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 249.194,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.18601,
    "h": 282.8
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#4C39B5
secondary
#BCC684
accent
#DC4CC6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4C39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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