#4C3E95#4C3E95

#4C3E95 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.137 H 286.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4C3E95
RGBrgb(76, 62, 149)
HSLhsl(250, 41%, 41%)
HSVhsv(250, 58%, 58%)
CMYKcmyk(49%, 58.4%, 0%, 41.6%)
CIE-LABlab(32.15, 29.49, -46.07)
CIE-LCHlch(32.15, 54.70, 302.63°)
OKLaboklab(42.73% 0.0388 -0.1316)
OKLCHoklch(42.73% 0.137 286.4)
XYZxyz(10.1263, 7.1512, 29.2747)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3E95 #87953E
analogous
#3E5C95 #4C3E95 #783E95
triadic
#4C3E95 #954C3E #3E954C
tetradic
#4C3E95 #953E5C #87953E #3E9578
square
#4C3E95 #953E5C #87953E #3E9578
split-complementary
#4C3E95 #95783E #5C953E
monochromatic
#201A3F #362C6A #4C3E95 #6757B9 #8E82CB

Accessibility & contrast

On white

8.64
#4C3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3E95
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3E95#FFFFFF#000000##FFFFFF
##4C3E951.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#335263
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c3e95;
/* rgb */ color: rgb(76, 62, 149);
/* oklch */ color: oklch(42.7% 0.137 286.4);
Tailwind
colors: {
  custom: {
    50: '#8474b5',
    500: '#4c3e95',
    950: '#000000',
  },
}
SCSS
$custom: #4c3e95;
$custom-light: #8474b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3e95",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 249.655,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.13717,
    "h": 286.4
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#4C3E95
secondary
#ACB57A
accent
#D157BD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4C3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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