#4C4EBD#4C4EBD

#4C4EBD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.170 H 277.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4C4EBD
RGBrgb(76, 78, 189)
HSLhsl(239, 46%, 52%)
HSVhsv(239, 60%, 74%)
CMYKcmyk(59.8%, 58.7%, 0%, 25.9%)
CIE-LABlab(39.00, 32.46, -58.86)
CIE-LCHlch(39.00, 67.22, 298.87°)
OKLaboklab(48.72% 0.0215 -0.1691)
OKLCHoklch(48.72% 0.17 277.2)
XYZxyz(14.8872, 10.6583, 49.4070)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EBD #BDBB4C
analogous
#4C87BD #4C4EBD #834CBD
triadic
#4C4EBD #BD4C4E #4EBD4C
tetradic
#4C4EBD #BD4C87 #BDBB4C #4CBD83
square
#4C4EBD #BD4C87 #BDBB4C #4CBD83
split-complementary
#4C4EBD #BD834C #87BD4C
monochromatic
#262868 #373995 #4C4EBD #797ACD #A5A6DE

Accessibility & contrast

On white

6.71
#4C4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4C4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EBD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EBD#FFFFFF#000000##FFFFFF
##4C4EBD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4ebd;
/* rgb */ color: rgb(76, 78, 189);
/* oklch */ color: oklch(48.7% 0.170 277.2);
Tailwind
colors: {
  custom: {
    50: '#897fd2',
    500: '#4c4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ebd;
$custom-light: #897fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ebd",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 238.938,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.17046,
    "h": 277.2
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#4C4EBD
secondary
#CBCA9A
accent
#D352D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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