#4C4EB8#4C4EB8

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

Color values

HEX#4C4EB8
RGBrgb(76, 78, 184)
HSLhsl(239, 43%, 51%)
HSVhsv(239, 59%, 72%)
CMYKcmyk(58.7%, 57.6%, 0%, 27.8%)
CIE-LABlab(38.63, 30.79, -56.53)
CIE-LCHlch(38.63, 64.37, 298.58°)
OKLaboklab(48.33% 0.0215 -0.1622)
OKLCHoklch(48.33% 0.164 277.5)
XYZxyz(14.3538, 10.4449, 46.5978)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EB8 #B8B64C
analogous
#4C84B8 #4C4EB8 #804CB8
triadic
#4C4EB8 #B84C4E #4EB84C
tetradic
#4C4EB8 #B84C84 #B8B64C #4CB880
square
#4C4EB8 #B84C84 #B8B64C #4CB880
split-complementary
#4C4EB8 #B8804C #84B84C
monochromatic
#272863 #383A8E #4C4EB8 #7879C9 #A4A5DB

Accessibility & contrast

On white

6.80
#4C4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4C4EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EB8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EB8#FFFFFF#000000##FFFFFF
##4C4EB81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4eb8;
/* rgb */ color: rgb(76, 78, 184);
/* oklch */ color: oklch(48.3% 0.164 277.5);
Tailwind
colors: {
  custom: {
    50: '#887fce',
    500: '#4c4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eb8;
$custom-light: #887fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eb8",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 238.889,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.16365,
    "h": 277.5
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#4C4EB8
secondary
#C8C798
accent
#D155D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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