#4C4EBE#4C4EBE

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

Color values

HEX#4C4EBE
RGBrgb(76, 78, 190)
HSLhsl(239, 47%, 52%)
HSVhsv(239, 60%, 75%)
CMYKcmyk(60%, 58.9%, 0%, 25.5%)
CIE-LABlab(39.07, 32.79, -59.33)
CIE-LCHlch(39.07, 67.78, 298.93°)
OKLaboklab(48.8% 0.0214 -0.1705)
OKLCHoklch(48.8% 0.172 277.2)
XYZxyz(14.9962, 10.7019, 49.9806)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EBE #BEBC4C
analogous
#4C87BE #4C4EBE #834CBE
triadic
#4C4EBE #BE4C4E #4EBE4C
tetradic
#4C4EBE #BE4C87 #BEBC4C #4CBE83
square
#4C4EBE #BE4C87 #BEBC4C #4CBE83
split-complementary
#4C4EBE #BE834C #87BE4C
monochromatic
#262769 #373896 #4C4EBE #797ACE #A6A7DF

Accessibility & contrast

On white

6.69
#4C4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EBE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EBE#FFFFFF#000000##FFFFFF
##4C4EBE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4ebe;
/* rgb */ color: rgb(76, 78, 190);
/* oklch */ color: oklch(48.8% 0.172 277.2);
Tailwind
colors: {
  custom: {
    50: '#897fd2',
    500: '#4c4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ebe;
$custom-light: #897fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ebe",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 238.947,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.17181,
    "h": 277.2
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#4C4EBE
secondary
#CCCB9A
accent
#D451D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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