#4C39B2#4C39B2

#4C39B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.3% C 0.182 H 283.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4C39B2
RGBrgb(76, 57, 178)
HSLhsl(249, 51%, 46%)
HSVhsv(249, 68%, 70%)
CMYKcmyk(57.3%, 68%, 0%, 30.2%)
CIE-LABlab(33.30, 41.62, -61.66)
CIE-LCHlch(33.30, 74.39, 304.02°)
OKLaboklab(44.28% 0.0416 -0.1774)
OKLCHoklch(44.28% 0.182 283.2)
XYZxyz(12.4770, 7.6763, 42.9351)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39B2 #9FB239
analogous
#3963B2 #4C39B2 #8839B2
triadic
#4C39B2 #B24C39 #39B24C
tetradic
#4C39B2 #B23963 #9FB239 #39B288
square
#4C39B2 #B23963 #9FB239 #39B288
split-complementary
#4C39B2 #B28839 #63B239
monochromatic
#241B55 #382A84 #4C39B2 #6E5DCB #988BDA

Accessibility & contrast

On white

8.28
#4C39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39B2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39B2#FFFFFF#000000##FFFFFF
##4C39B21.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#165871
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c39b2;
/* rgb */ color: rgb(76, 57, 178);
/* oklch */ color: oklch(44.3% 0.182 283.2);
Tailwind
colors: {
  custom: {
    50: '#8971ca',
    500: '#4c39b2',
    950: '#000000',
  },
}
SCSS
$custom: #4c39b2;
$custom-light: #8971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39b2",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 249.421,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.18223,
    "h": 283.2
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#4C39B2
secondary
#BAC482
accent
#DB4DC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4C39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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