#4C3FA5#4C3FA5

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

Color values

HEX#4C3FA5
RGBrgb(76, 63, 165)
HSLhsl(248, 45%, 45%)
HSVhsv(248, 62%, 65%)
CMYKcmyk(53.9%, 61.8%, 0%, 35.3%)
CIE-LABlab(33.58, 33.94, -53.44)
CIE-LCHlch(33.58, 63.30, 302.42°)
OKLaboklab(44.16% 0.0372 -0.1532)
OKLCHoklch(44.16% 0.158 283.6)
XYZxyz(11.5475, 7.8075, 36.4885)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FA5 #98A53F
analogous
#3F65A5 #4C3FA5 #7F3FA5
triadic
#4C3FA5 #A54C3F #3FA54C
tetradic
#4C3FA5 #A53F65 #98A53F #3FA57F
square
#4C3FA5 #A53F65 #98A53F #3FA57F
split-complementary
#4C3FA5 #A57F3F #65A53F
monochromatic
#231D4C #382E79 #4C3FA5 #6C5FC2 #958CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C3FA5#FFFFFF#000000##FFFFFF
##4C3FA51.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)
#0052A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#26576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3fa5;
/* rgb */ color: rgb(76, 63, 165);
/* oklch */ color: oklch(44.2% 0.158 283.6);
Tailwind
colors: {
  custom: {
    50: '#8675c0',
    500: '#4c3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fa5;
$custom-light: #8675c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fa5",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 247.647,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.15769,
    "h": 283.6
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#4C3FA5
secondary
#B6BE82
accent
#D453C4
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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