#4C4FAC#4C4FAC

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

Color values

HEX#4C4FAC
RGBrgb(76, 79, 172)
HSLhsl(238, 39%, 49%)
HSVhsv(238, 56%, 67%)
CMYKcmyk(55.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(38.03, 26.17, -50.41)
CIE-LCHlch(38.03, 56.80, 297.43°)
OKLaboklab(47.62% 0.0201 -0.1442)
OKLCHoklch(47.62% 0.146 277.9)
XYZxyz(13.2205, 10.1061, 40.2758)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FAC #ACA94C
analogous
#4C7FAC #4C4FAC #794CAC
triadic
#4C4FAC #AC4C4F #4FAC4C
tetradic
#4C4FAC #AC4C7F #ACA94C #4CAC79
square
#4C4FAC #AC4C7F #ACA94C #4CAC79
split-complementary
#4C4FAC #AC794C #7FAC4C
monochromatic
#262857 #393C82 #4C4FAC #7476C1 #9EA0D4

Accessibility & contrast

On white

6.95
#4C4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C4FAC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FAC#FFFFFF#000000##FFFFFF
##4C4FAC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#1B6476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c4fac;
/* rgb */ color: rgb(76, 79, 172);
/* oklch */ color: oklch(47.6% 0.146 277.9);
Tailwind
colors: {
  custom: {
    50: '#8680c5',
    500: '#4c4fac',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fac;
$custom-light: #8680c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fac",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 238.125,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.14562,
    "h": 277.9
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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