#4C3DA7#4C3DA7

#4C3DA7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.163 H 283.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4C3DA7
RGBrgb(76, 61, 167)
HSLhsl(248, 46%, 45%)
HSVhsv(248, 63%, 65%)
CMYKcmyk(54.5%, 63.5%, 0%, 34.5%)
CIE-LABlab(33.27, 35.79, -55.14)
CIE-LCHlch(33.27, 65.74, 302.99°)
OKLaboklab(43.98% 0.0391 -0.1582)
OKLCHoklch(43.98% 0.163 283.9)
XYZxyz(11.6222, 7.6633, 37.4185)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3DA7 #98A73D
analogous
#3D63A7 #4C3DA7 #813DA7
triadic
#4C3DA7 #A74C3D #3DA74C
tetradic
#4C3DA7 #A73D63 #98A73D #3DA781
square
#4C3DA7 #A73D63 #98A73D #3DA781
split-complementary
#4C3DA7 #A7813D #63A73D
monochromatic
#231C4D #382D7A #4C3DA7 #6C5DC4 #958AD4

Accessibility & contrast

On white

8.29
#4C3DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C3DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3DA7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3DA7#FFFFFF#000000##FFFFFF
##4C3DA71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#25576C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3da7;
/* rgb */ color: rgb(76, 61, 167);
/* oklch */ color: oklch(44.0% 0.163 283.9);
Tailwind
colors: {
  custom: {
    50: '#8673c2',
    500: '#4c3da7',
    950: '#000000',
  },
}
SCSS
$custom: #4c3da7;
$custom-light: #8673c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3da7",
  "rgb": {
    "r": 76,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 248.491,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.16301,
    "h": 283.9
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#4C3DA7
secondary
#B6BF81
accent
#D652C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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