#4C409B#4C409B

#4C409B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.143 H 284.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4C409B
RGBrgb(76, 64, 155)
HSLhsl(248, 42%, 43%)
HSVhsv(248, 59%, 61%)
CMYKcmyk(51%, 58.7%, 0%, 39.2%)
CIE-LABlab(33.07, 30.14, -48.23)
CIE-LCHlch(33.07, 56.87, 302.00°)
OKLaboklab(43.54% 0.0365 -0.1379)
OKLCHoklch(43.54% 0.143 284.8)
XYZxyz(10.7285, 7.5693, 31.8997)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C409B #8F9B40
analogous
#40619B #4C409B #79409B
triadic
#4C409B #9B4C40 #409B4C
tetradic
#4C409B #9B4061 #8F9B40 #409B79
square
#4C409B #9B4061 #8F9B40 #409B79
split-complementary
#4C409B #9B7940 #619B40
monochromatic
#221C44 #372E70 #4C409B #695CBC #9188CE

Accessibility & contrast

On white

8.35
#4C409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4C409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C409B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C409B#FFFFFF#000000##FFFFFF
##4C409B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#2F5567
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c409b;
/* rgb */ color: rgb(76, 64, 155);
/* oklch */ color: oklch(43.5% 0.143 284.8);
Tailwind
colors: {
  custom: {
    50: '#8475b9',
    500: '#4c409b',
    950: '#000000',
  },
}
SCSS
$custom: #4c409b;
$custom-light: #8475b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c409b",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 247.912,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.14266,
    "h": 284.8
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#4C409B
secondary
#B1B87E
accent
#D156C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4C409B

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

Preview Lab → · Contrast checker → · Palette generator →

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