#4C4DBA#4C4DBA

#4C4DBA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.168 H 277.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4C4DBA
RGBrgb(76, 77, 186)
HSLhsl(239, 44%, 51%)
HSVhsv(239, 59%, 73%)
CMYKcmyk(59.1%, 58.6%, 0%, 27.1%)
CIE-LABlab(38.53, 32.09, -57.86)
CIE-LCHlch(38.53, 66.16, 299.01°)
OKLaboklab(48.3% 0.0224 -0.1662)
OKLCHoklch(48.3% 0.168 277.7)
XYZxyz(14.4945, 10.3884, 47.6862)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DBA #BAB94C
analogous
#4C84BA #4C4DBA #824CBA
triadic
#4C4DBA #BA4C4D #4DBA4C
tetradic
#4C4DBA #BA4C84 #BAB94C #4CBA82
square
#4C4DBA #BA4C84 #BAB94C #4CBA82
split-complementary
#4C4DBA #BA824C #84BA4C
monochromatic
#272765 #383991 #4C4DBA #7879CB #A4A5DC

Accessibility & contrast

On white

6.82
#4C4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C4DBA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DBA#FFFFFF#000000##FFFFFF
##4C4DBA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4dba;
/* rgb */ color: rgb(76, 77, 186);
/* oklch */ color: oklch(48.3% 0.168 277.7);
Tailwind
colors: {
  custom: {
    50: '#887fd0',
    500: '#4c4dba',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dba;
$custom-light: #887fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dba",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 239.455,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.16769,
    "h": 277.7
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#4C4DBA
secondary
#C9C999
accent
#D354D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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