#4C64AC#4C64AC

#4C64AC is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.9% C 0.117 H 268.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C64AC
RGBrgb(76, 100, 172)
HSLhsl(225, 39%, 49%)
HSVhsv(225, 56%, 67%)
CMYKcmyk(55.8%, 41.9%, 0%, 32.5%)
CIE-LABlab(43.70, 12.78, -41.34)
CIE-LCHlch(43.70, 43.27, 287.18°)
OKLaboklab(51.91% -0.0036 -0.1174)
OKLCHoklch(51.91% 0.117 268.2)
XYZxyz(14.9816, 13.6283, 40.8628)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64AC #AC944C
analogous
#4C94AC #4C64AC #644CAC
triadic
#4C64AC #AC4C64 #64AC4C
tetradic
#4C64AC #AC4C94 #AC944C #4CAC64
square
#4C64AC #AC4C94 #AC944C #4CAC64
split-complementary
#4C64AC #AC644C #94AC4C
monochromatic
#263357 #394B82 #4C64AC #7487C1 #9EACD4

Accessibility & contrast

On white

5.64
#4C64AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4C64AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64AC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64AC#FFFFFF#000000##FFFFFF
##4C64AC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#14747F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c64ac;
/* rgb */ color: rgb(76, 100, 172);
/* oklch */ color: oklch(51.9% 0.117 268.2);
Tailwind
colors: {
  custom: {
    50: '#858fc5',
    500: '#4c64ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c64ac;
$custom-light: #858fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64ac",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 225,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.11744,
    "h": 268.2
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#4C64AC
secondary
#C1B593
accent
#B159CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4C64AC

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

Preview Lab → · Contrast checker → · Palette generator →

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