#4C3FA8#4C3FA8

#4C3FA8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.162 H 283.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4C3FA8
RGBrgb(76, 63, 168)
HSLhsl(247, 45%, 45%)
HSVhsv(247, 63%, 66%)
CMYKcmyk(54.8%, 62.5%, 0%, 34.1%)
CIE-LABlab(33.81, 34.89, -54.86)
CIE-LCHlch(33.81, 65.02, 302.46°)
OKLaboklab(44.4% 0.037 -0.1574)
OKLCHoklch(44.4% 0.162 283.2)
XYZxyz(11.8237, 7.9180, 37.9435)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FA8 #9BA83F
analogous
#3F66A8 #4C3FA8 #813FA8
triadic
#4C3FA8 #A84C3F #3FA84C
tetradic
#4C3FA8 #A83F66 #9BA83F #3FA881
square
#4C3FA8 #A83F66 #9BA83F #3FA881
split-complementary
#4C3FA8 #A8813F #66A83F
monochromatic
#241E4F #382E7B #4C3FA8 #6D61C4 #968DD4

Accessibility & contrast

On white

8.13
#4C3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4C3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FA8
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FA8#FFFFFF#000000##FFFFFF
##4C3FA81.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#23586D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3fa8;
/* rgb */ color: rgb(76, 63, 168);
/* oklch */ color: oklch(44.4% 0.162 283.2);
Tailwind
colors: {
  custom: {
    50: '#8775c3',
    500: '#4c3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fa8;
$custom-light: #8775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fa8",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 247.429,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.16171,
    "h": 283.2
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#4C3FA8
secondary
#B8BF84
accent
#D553C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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