#4C4CBD#4C4CBD

#4C4CBD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.173 H 277.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4C4CBD
RGBrgb(76, 76, 189)
HSLhsl(240, 46%, 52%)
HSVhsv(240, 60%, 74%)
CMYKcmyk(59.8%, 59.8%, 0%, 25.9%)
CIE-LABlab(38.51, 33.70, -59.65)
CIE-LCHlch(38.51, 68.51, 299.47°)
OKLaboklab(48.36% 0.0233 -0.1714)
OKLCHoklch(48.36% 0.173 277.8)
XYZxyz(14.7473, 10.3784, 49.3604)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CBD #BDBD4C
analogous
#4C85BD #4C4CBD #854CBD
triadic
#4C4CBD #BD4C4C #4CBD4C
tetradic
#4C4CBD #BD4C85 #BDBD4C #4CBD85
square
#4C4CBD #BD4C85 #BDBD4C #4CBD85
split-complementary
#4C4CBD #BD854C #85BD4C
monochromatic
#262668 #373795 #4C4CBD #7979CD #A5A5DE

Accessibility & contrast

On white

6.83
#4C4CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4C4CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CBD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CBD#FFFFFF#000000##FFFFFF
##4C4CBD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4cbd;
/* rgb */ color: rgb(76, 76, 189);
/* oklch */ color: oklch(48.4% 0.173 277.8);
Tailwind
colors: {
  custom: {
    50: '#897ed2',
    500: '#4c4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cbd;
$custom-light: #897ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cbd",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.17302,
    "h": 277.8
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#4C4CBD
secondary
#CBCB9A
accent
#D652D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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