#4C3DBA#4C3DBA

#4C3DBA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.188 H 281.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4C3DBA
RGBrgb(76, 61, 186)
HSLhsl(247, 51%, 48%)
HSVhsv(247, 67%, 73%)
CMYKcmyk(59.1%, 67.2%, 0%, 27.1%)
CIE-LABlab(34.84, 41.80, -63.88)
CIE-LCHlch(34.84, 76.34, 303.20°)
OKLaboklab(45.6% 0.0371 -0.1839)
OKLCHoklch(45.6% 0.188 281.4)
XYZxyz(13.5094, 8.4182, 47.3579)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3DBA #ABBA3D
analogous
#3D6CBA #4C3DBA #8A3DBA
triadic
#4C3DBA #BA4C3D #3DBA4C
tetradic
#4C3DBA #BA3D6C #ABBA3D #3DBA8A
square
#4C3DBA #BA3D6C #ABBA3D #3DBA8A
split-complementary
#4C3DBA #BA8A3D #6CBA3D
monochromatic
#261F5E #392E8C #4C3DBA #7367CD #9E95DC

Accessibility & contrast

On white

7.82
#4C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3DBA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3DBA#FFFFFF#000000##FFFFFF
##4C3DBA1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c3dba;
/* rgb */ color: rgb(76, 61, 186);
/* oklch */ color: oklch(45.6% 0.188 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a74d0',
    500: '#4c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #4c3dba;
$custom-light: #8a74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3dba",
  "rgb": {
    "r": 76,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 247.2,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.18761,
    "h": 281.4
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#4C3DBA
secondary
#C0C88B
accent
#DA4EC9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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