#4C64AA#4C64AA

#4C64AA is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.8% C 0.115 H 268.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4C64AA
RGBrgb(76, 100, 170)
HSLhsl(225, 38%, 48%)
HSVhsv(225, 55%, 67%)
CMYKcmyk(55.3%, 41.2%, 0%, 33.3%)
CIE-LABlab(43.58, 12.12, -40.34)
CIE-LCHlch(43.58, 42.12, 286.72°)
OKLaboklab(51.79% -0.004 -0.1145)
OKLCHoklch(51.79% 0.115 268)
XYZxyz(14.7910, 13.5520, 39.8588)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64AA #AA924C
analogous
#4C93AA #4C64AA #634CAA
triadic
#4C64AA #AA4C64 #64AA4C
tetradic
#4C64AA #AA4C93 #AA924C #4CAA63
square
#4C64AA #AA4C93 #AA924C #4CAA63
split-complementary
#4C64AA #AA634C #93AA4C
monochromatic
#263255 #394B80 #4C64AA #7387C0 #9DABD3

Accessibility & contrast

On white

5.66
#4C64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4C64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64AA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64AA#FFFFFF#000000##FFFFFF
##4C64AA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#18737F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c64aa;
/* rgb */ color: rgb(76, 100, 170);
/* oklch */ color: oklch(51.8% 0.115 268.0);
Tailwind
colors: {
  custom: {
    50: '#858fc4',
    500: '#4c64aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c64aa;
$custom-light: #858fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64aa",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 224.681,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.11453,
    "h": 268
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#4C64AA
secondary
#C0B492
accent
#B05ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4C64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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