#4C4DB9#4C4DB9

#4C4DB9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.166 H 277.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4C4DB9
RGBrgb(76, 77, 185)
HSLhsl(239, 44%, 51%)
HSVhsv(239, 59%, 73%)
CMYKcmyk(58.9%, 58.4%, 0%, 27.5%)
CIE-LABlab(38.46, 31.75, -57.40)
CIE-LCHlch(38.46, 65.60, 298.95°)
OKLaboklab(48.22% 0.0225 -0.1648)
OKLCHoklch(48.22% 0.166 277.8)
XYZxyz(14.3885, 10.3460, 47.1283)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DB9 #B9B84C
analogous
#4C83B9 #4C4DB9 #814CB9
triadic
#4C4DB9 #B94C4D #4DB94C
tetradic
#4C4DB9 #B94C83 #B9B84C #4CB981
square
#4C4DB9 #B94C83 #B9B84C #4CB981
split-complementary
#4C4DB9 #B9814C #83B94C
monochromatic
#272864 #383990 #4C4DB9 #7879CA #A4A4DB

Accessibility & contrast

On white

6.84
#4C4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4C4DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DB9
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DB9#FFFFFF#000000##FFFFFF
##4C4DB91.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4db9;
/* rgb */ color: rgb(76, 77, 185);
/* oklch */ color: oklch(48.2% 0.166 277.8);
Tailwind
colors: {
  custom: {
    50: '#887fcf',
    500: '#4c4db9',
    950: '#000000',
  },
}
SCSS
$custom: #4c4db9;
$custom-light: #887fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4db9",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 239.45,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.16632,
    "h": 277.8
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#4C4DB9
secondary
#C8C898
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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