#4C488D#4C488D

#4C488D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.111 H 283.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4C488D
RGBrgb(76, 72, 141)
HSLhsl(243, 32%, 42%)
HSVhsv(243, 49%, 55%)
CMYKcmyk(46.1%, 48.9%, 0%, 44.7%)
CIE-LABlab(34.18, 20.58, -37.92)
CIE-LCHlch(34.18, 43.14, 298.48°)
OKLaboklab(44.07% 0.0258 -0.1076)
OKLCHoklch(44.07% 0.111 283.5)
XYZxyz(10.1042, 8.0939, 26.2240)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C488D #898D48
analogous
#48678D #4C488D #6F488D
triadic
#4C488D #8D4C48 #488D4C
tetradic
#4C488D #8D4867 #898D48 #488D6F
square
#4C488D #8D4867 #898D48 #488D6F
split-complementary
#4C488D #8D6F48 #678D48
monochromatic
#201F3C #363364 #4C488D #6763AF #8F8BC4

Accessibility & contrast

On white

8.02
#4C488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C488D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C488D#FFFFFF#000000##FFFFFF
##4C488D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#375663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c488d;
/* rgb */ color: rgb(76, 72, 141);
/* oklch */ color: oklch(44.1% 0.111 283.5);
Tailwind
colors: {
  custom: {
    50: '#827baf',
    500: '#4c488d',
    950: '#000000',
  },
}
SCSS
$custom: #4c488d;
$custom-light: #827baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c488d",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 243.478,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44071,
    "c": 0.11064,
    "h": 283.5
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#4C488D
secondary
#ADB081
accent
#C95FC2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4C488D

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

Preview Lab → · Contrast checker → · Palette generator →

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