#4C4CAF#4C4CAF

#4C4CAF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.154 H 278.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4C4CAF
RGBrgb(76, 76, 175)
HSLhsl(240, 39%, 49%)
HSVhsv(240, 57%, 69%)
CMYKcmyk(56.6%, 56.6%, 0%, 31.4%)
CIE-LABlab(37.48, 29.07, -53.08)
CIE-LCHlch(37.48, 60.52, 298.70°)
OKLaboklab(47.27% 0.0234 -0.1521)
OKLCHoklch(47.27% 0.154 278.7)
XYZxyz(13.3004, 9.7996, 41.7398)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CAF #AFAF4C
analogous
#4C7EAF #4C4CAF #7E4CAF
triadic
#4C4CAF #AF4C4C #4CAF4C
tetradic
#4C4CAF #AF4C7E #AFAF4C #4CAF7E
square
#4C4CAF #AF4C7E #AFAF4C #4CAF7E
split-complementary
#4C4CAF #AF7E4C #7EAF4C
monochromatic
#27275A #393984 #4C4CAF #7575C3 #A0A0D6

Accessibility & contrast

On white

7.09
#4C4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4C4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4CAF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CAF#FFFFFF#000000##FFFFFF
##4C4CAF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#176376
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c4caf;
/* rgb */ color: rgb(76, 76, 175);
/* oklch */ color: oklch(47.3% 0.154 278.7);
Tailwind
colors: {
  custom: {
    50: '#877ec8',
    500: '#4c4caf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4caf;
$custom-light: #877ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4caf",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4727,
    "c": 0.1539,
    "h": 278.7
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#4C4CAF
secondary
#C2C294
accent
#CF58CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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