#4C4089#4C4089

#4C4089 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 42.2% C 0.117 H 287.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4C4089
RGBrgb(76, 64, 137)
HSLhsl(250, 36%, 39%)
HSVhsv(250, 53%, 54%)
CMYKcmyk(44.5%, 53.3%, 0%, 46.3%)
CIE-LABlab(31.83, 24.48, -39.22)
CIE-LCHlch(31.83, 46.24, 301.97°)
OKLaboklab(42.23% 0.0359 -0.1114)
OKLCHoklch(42.23% 0.117 287.9)
XYZxyz(9.3280, 7.0091, 24.5235)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4089 #7D8940
analogous
#405989 #4C4089 #714089
triadic
#4C4089 #894C40 #40894C
tetradic
#4C4089 #894059 #7D8940 #408971
square
#4C4089 #894059 #7D8940 #408971
split-complementary
#4C4089 #897140 #598940
monochromatic
#1E1936 #352D5F #4C4089 #6556B0 #8B80C4

Accessibility & contrast

On white

8.74
#4C4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C4089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4089
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4089#FFFFFF#000000##FFFFFF
##4C40891.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#3A4F5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4089;
/* rgb */ color: rgb(76, 64, 137);
/* oklch */ color: oklch(42.2% 0.117 287.9);
Tailwind
colors: {
  custom: {
    50: '#8275ac',
    500: '#4c4089',
    950: '#000000',
  },
}
SCSS
$custom: #4c4089;
$custom-light: #8275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4089",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 249.863,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.11709,
    "h": 287.9
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#4C4089
secondary
#A5AE77
accent
#CC5BBA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C4089

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

Preview Lab → · Contrast checker → · Palette generator →

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