#4C64D2#4C64D2

#4C64D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.171 H 270.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C64D2
RGBrgb(76, 100, 210)
HSLhsl(229, 60%, 56%)
HSVhsv(229, 64%, 82%)
CMYKcmyk(63.8%, 52.4%, 0%, 17.6%)
CIE-LABlab(46.05, 25.77, -59.60)
CIE-LCHlch(46.05, 64.93, 293.38°)
OKLaboklab(54.46% 0.0015 -0.171)
OKLCHoklch(54.46% 0.171 270.5)
XYZxyz(19.1666, 15.3023, 62.9039)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64D2 #D2BA4C
analogous
#4CA7D2 #4C64D2 #774CD2
triadic
#4C64D2 #D24C64 #64D24C
tetradic
#4C64D2 #D24CA7 #D2BA4C #4CD277
square
#4C64D2 #D24CA7 #D2BA4C #4CD277
split-complementary
#4C64D2 #D2774C #A7D24C
monochromatic
#213283 #2D45B4 #4C64D2 #7D8EDE #AEB9EB

Accessibility & contrast

On white

5.17
#4C64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4C64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64D2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64D2#FFFFFF#000000##FFFFFF
##4C64D21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c64d2;
/* rgb */ color: rgb(76, 100, 210);
/* oklch */ color: oklch(54.5% 0.171 270.5);
Tailwind
colors: {
  custom: {
    50: '#8b8fe0',
    500: '#4c64d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c64d2;
$custom-light: #8b8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64d2",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 229.254,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.17104,
    "h": 270.5
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#4C64D2
secondary
#D9CFA1
accent
#C745E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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