#4C4FAE#4C4FAE

#4C4FAE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.148 H 277.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4C4FAE
RGBrgb(76, 79, 174)
HSLhsl(238, 39%, 49%)
HSVhsv(238, 56%, 68%)
CMYKcmyk(56.3%, 54.6%, 0%, 31.8%)
CIE-LABlab(38.17, 26.83, -51.37)
CIE-LCHlch(38.17, 57.96, 297.58°)
OKLaboklab(47.76% 0.0202 -0.1471)
OKLCHoklch(47.76% 0.148 277.8)
XYZxyz(13.4140, 10.1836, 41.2950)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FAE #AEAB4C
analogous
#4C80AE #4C4FAE #7A4CAE
triadic
#4C4FAE #AE4C4F #4FAE4C
tetradic
#4C4FAE #AE4C80 #AEAB4C #4CAE7A
square
#4C4FAE #AE4C80 #AEAB4C #4CAE7A
split-complementary
#4C4FAE #AE7A4C #80AE4C
monochromatic
#272859 #393C83 #4C4FAE #7577C3 #9FA1D5

Accessibility & contrast

On white

6.92
#4C4FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4C4FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FAE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FAE#FFFFFF#000000##FFFFFF
##4C4FAE1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#186577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c4fae;
/* rgb */ color: rgb(76, 79, 174);
/* oklch */ color: oklch(47.8% 0.148 277.8);
Tailwind
colors: {
  custom: {
    50: '#8680c7',
    500: '#4c4fae',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fae;
$custom-light: #8680c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fae",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 238.163,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.14844,
    "h": 277.8
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#4C4FAE
secondary
#C2C194
accent
#CB59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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