#4C409D#4C409D

#4C409D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.145 H 284.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4C409D
RGBrgb(76, 64, 157)
HSLhsl(248, 42%, 43%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(51.6%, 59.2%, 0%, 38.4%)
CIE-LABlab(33.22, 30.77, -49.21)
CIE-LCHlch(33.22, 58.03, 302.02°)
OKLaboklab(43.7% 0.0364 -0.1408)
OKLCHoklch(43.7% 0.145 284.5)
XYZxyz(10.8979, 7.6371, 32.7916)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C409D #919D40
analogous
#40629D #4C409D #7A409D
triadic
#4C409D #9D4C40 #409D4C
tetradic
#4C409D #9D4062 #919D40 #409D7A
square
#4C409D #9D4062 #919D40 #409D7A
split-complementary
#4C409D #9D7A40 #629D40
monochromatic
#221D46 #372E72 #4C409D #6A5DBD #9289CF

Accessibility & contrast

On white

8.31
#4C409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C409D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C409D#FFFFFF#000000##FFFFFF
##4C409D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#2D5568
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c409d;
/* rgb */ color: rgb(76, 64, 157);
/* oklch */ color: oklch(43.7% 0.145 284.5);
Tailwind
colors: {
  custom: {
    50: '#8575bb',
    500: '#4c409d',
    950: '#000000',
  },
}
SCSS
$custom: #4c409d;
$custom-light: #8575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c409d",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 247.742,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.14542,
    "h": 284.5
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#4C409D
secondary
#B2B97F
accent
#D256C2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C409D

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

Preview Lab → · Contrast checker → · Palette generator →

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