#4C4EAA#4C4EAA

#4C4EAA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.144 H 278.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4C4EAA
RGBrgb(76, 78, 170)
HSLhsl(239, 38%, 48%)
HSVhsv(239, 55%, 67%)
CMYKcmyk(55.3%, 54.1%, 0%, 33.3%)
CIE-LABlab(37.64, 26.14, -49.86)
CIE-LCHlch(37.64, 56.29, 297.67°)
OKLaboklab(47.28% 0.0211 -0.1426)
OKLCHoklch(47.28% 0.144 278.4)
XYZxyz(12.9583, 9.8867, 39.2479)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EAA #AAA84C
analogous
#4C7DAA #4C4EAA #794CAA
triadic
#4C4EAA #AA4C4E #4EAA4C
tetradic
#4C4EAA #AA4C7D #AAA84C #4CAA79
square
#4C4EAA #AA4C7D #AAA84C #4CAA79
split-complementary
#4C4EAA #AA794C #7DAA4C
monochromatic
#262755 #393B80 #4C4EAA #7375C0 #9D9ED3

Accessibility & contrast

On white

7.05
#4C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4C4EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4EAA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EAA#FFFFFF#000000##FFFFFF
##4C4EAA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#0255A8
Tritanopia (blue-blind)
#1E6374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4eaa;
/* rgb */ color: rgb(76, 78, 170);
/* oklch */ color: oklch(47.3% 0.144 278.4);
Tailwind
colors: {
  custom: {
    50: '#867fc4',
    500: '#4c4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eaa;
$custom-light: #867fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eaa",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 238.723,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.14416,
    "h": 278.4
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#4C4EAA
secondary
#C0BF92
accent
#CC5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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