#4C4185#4C4185

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

Color values

HEX#4C4185
RGBrgb(76, 65, 133)
HSLhsl(250, 34%, 39%)
HSVhsv(250, 51%, 52%)
CMYKcmyk(42.9%, 51.1%, 0%, 47.8%)
CIE-LABlab(31.83, 22.60, -36.75)
CIE-LCHlch(31.83, 43.14, 301.59°)
OKLaboklab(42.15% 0.0342 -0.1042)
OKLCHoklch(42.15% 0.11 288.2)
XYZxyz(9.1032, 7.0102, 23.0592)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4185 #7A8541
analogous
#415885 #4C4185 #6E4185
triadic
#4C4185 #854C41 #41854C
tetradic
#4C4185 #854158 #7A8541 #41856E
square
#4C4185 #854158 #7A8541 #41856E
split-complementary
#4C4185 #856E41 #588541
monochromatic
#1D1933 #352D5C #4C4185 #6457AD #8A80C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4185#FFFFFF#000000##FFFFFF
##4C41851.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)
#254C87
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#3C4F5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4185;
/* rgb */ color: rgb(76, 65, 133);
/* oklch */ color: oklch(42.1% 0.110 288.2);
Tailwind
colors: {
  custom: {
    50: '#8175a9',
    500: '#4c4185',
    950: '#000000',
  },
}
SCSS
$custom: #4c4185;
$custom-light: #8175a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4185",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 249.706,
    "s": 34.343,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.10965,
    "h": 288.2
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#4C4185
secondary
#A3AB76
accent
#CA5DB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C4185

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

Preview Lab → · Contrast checker → · Palette generator →

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