#4C4EBA#4C4EBA

#4C4EBA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.166 H 277.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4C4EBA
RGBrgb(76, 78, 186)
HSLhsl(239, 44%, 51%)
HSVhsv(239, 59%, 73%)
CMYKcmyk(59.1%, 58.1%, 0%, 27.1%)
CIE-LABlab(38.78, 31.46, -57.47)
CIE-LCHlch(38.78, 65.51, 298.70°)
OKLaboklab(48.49% 0.0215 -0.165)
OKLCHoklch(48.49% 0.166 277.4)
XYZxyz(14.5650, 10.5294, 47.7097)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EBA #BAB84C
analogous
#4C85BA #4C4EBA #814CBA
triadic
#4C4EBA #BA4C4E #4EBA4C
tetradic
#4C4EBA #BA4C85 #BAB84C #4CBA81
square
#4C4EBA #BA4C85 #BAB84C #4CBA81
split-complementary
#4C4EBA #BA814C #85BA4C
monochromatic
#272865 #383991 #4C4EBA #787ACB #A4A5DC

Accessibility & contrast

On white

6.76
#4C4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4C4EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EBA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EBA#FFFFFF#000000##FFFFFF
##4C4EBA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4eba;
/* rgb */ color: rgb(76, 78, 186);
/* oklch */ color: oklch(48.5% 0.166 277.4);
Tailwind
colors: {
  custom: {
    50: '#887fcf',
    500: '#4c4eba',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eba;
$custom-light: #887fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eba",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 238.909,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.16639,
    "h": 277.4
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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