#4C3FBA#4C3FBA

#4C3FBA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.185 H 281.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4C3FBA
RGBrgb(76, 63, 186)
HSLhsl(246, 49%, 49%)
HSVhsv(246, 66%, 73%)
CMYKcmyk(59.1%, 66.1%, 0%, 27.1%)
CIE-LABlab(35.27, 40.63, -63.17)
CIE-LCHlch(35.27, 75.11, 302.75°)
OKLaboklab(45.92% 0.0353 -0.1818)
OKLCHoklch(45.92% 0.185 281)
XYZxyz(13.6181, 8.6357, 47.3941)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FBA #ADBA3F
analogous
#3F70BA #4C3FBA #8A3FBA
triadic
#4C3FBA #BA4C3F #3FBA4C
tetradic
#4C3FBA #BA3F70 #ADBA3F #3FBA8A
square
#4C3FBA #BA3F70 #ADBA3F #3FBA8A
split-complementary
#4C3FBA #BA8A3F #70BA3F
monochromatic
#27205F #39308C #4C3FBA #746ACC #9F97DC

Accessibility & contrast

On white

7.70
#4C3FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C3FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FBA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FBA#FFFFFF#000000##FFFFFF
##4C3FBA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c3fba;
/* rgb */ color: rgb(76, 63, 186);
/* oklch */ color: oklch(45.9% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#8a75d0',
    500: '#4c3fba',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fba;
$custom-light: #8a75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fba",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 246.341,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.18523,
    "h": 281
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#4C3FBA
secondary
#C1C88D
accent
#D94FCA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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