#4C4875#4C4875

#4C4875 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.074 H 286.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C4875
RGBrgb(76, 72, 117)
HSLhsl(245, 24%, 37%)
HSVhsv(245, 38%, 46%)
CMYKcmyk(35%, 38.5%, 0%, 54.1%)
CIE-LABlab(32.82, 13.23, -25.22)
CIE-LCHlch(32.82, 28.47, 297.68°)
OKLaboklab(42.6% 0.0214 -0.0705)
OKLCHoklch(42.6% 0.074 286.9)
XYZxyz(8.5079, 7.4554, 17.8169)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4875 #717548
analogous
#485B75 #4C4875 #634875
triadic
#4C4875 #754C48 #48754C
tetradic
#4C4875 #75485B #717548 #487563
square
#4C4875 #75485B #717548 #487563
split-complementary
#4C4875 #756348 #5B7548
monochromatic
#1B1929 #33314F #4C4875 #655F9B #8884B3

Accessibility & contrast

On white

8.43
#4C4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4875
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4875#FFFFFF#000000##FFFFFF
##4C48751.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E77
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#425059
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c4875;
/* rgb */ color: rgb(76, 72, 117);
/* oklch */ color: oklch(42.6% 0.074 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f7b9d',
    500: '#4c4875',
    950: '#000000',
  },
}
SCSS
$custom: #4c4875;
$custom-light: #7f7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4875",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 245.333,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.07369,
    "h": 286.9
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#4C4875
secondary
#9CA079
accent
#C068B8
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4C4875

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

Preview Lab → · Contrast checker → · Palette generator →

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