#4C4EAF#4C4EAF

#4C4EAF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.151 H 278.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4C4EAF
RGBrgb(76, 78, 175)
HSLhsl(239, 39%, 49%)
HSVhsv(239, 57%, 69%)
CMYKcmyk(56.6%, 55.4%, 0%, 31.4%)
CIE-LABlab(37.98, 27.80, -52.26)
CIE-LCHlch(37.98, 59.20, 298.01°)
OKLaboklab(47.65% 0.0213 -0.1497)
OKLCHoklch(47.65% 0.151 278.1)
XYZxyz(13.4403, 10.0795, 41.7864)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EAF #AFAD4C
analogous
#4C80AF #4C4EAF #7C4CAF
triadic
#4C4EAF #AF4C4E #4EAF4C
tetradic
#4C4EAF #AF4C80 #AFAD4C #4CAF7C
square
#4C4EAF #AF4C80 #AFAD4C #4CAF7C
split-complementary
#4C4EAF #AF7C4C #80AF4C
monochromatic
#27285A #393B84 #4C4EAF #7577C3 #A0A1D6

Accessibility & contrast

On white

6.96
#4C4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4C4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EAF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EAF#FFFFFF#000000##FFFFFF
##4C4EAF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5EB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#166477
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4eaf;
/* rgb */ color: rgb(76, 78, 175);
/* oklch */ color: oklch(47.6% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#877fc7',
    500: '#4c4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eaf;
$custom-light: #877fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eaf",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 238.788,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.1512,
    "h": 278.1
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#4C4EAF
secondary
#C2C294
accent
#CD58CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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