#4C64DC#4C64DC

#4C64DC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.185 H 270.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C64DC
RGBrgb(76, 100, 220)
HSLhsl(230, 67%, 58%)
HSVhsv(230, 65%, 86%)
CMYKcmyk(65.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(46.73, 29.22, -64.18)
CIE-LCHlch(46.73, 70.52, 294.48°)
OKLaboklab(55.19% 0.0021 -0.1845)
OKLCHoklch(55.19% 0.185 270.7)
XYZxyz(20.4516, 15.8163, 69.6713)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64DC #DCC44C
analogous
#4CACDC #4C64DC #7C4CDC
triadic
#4C64DC #DC4C64 #64DC4C
tetradic
#4C64DC #DC4CAC #DCC44C #4CDC7C
square
#4C64DC #DC4CAC #DCC44C #4CDC7C
split-complementary
#4C64DC #DC7C4C #ACDC4C
monochromatic
#1C3091 #2641C4 #4C64DC #7F90E6 #B2BDF0

Accessibility & contrast

On white

5.04
#4C64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4C64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64DC#FFFFFF#000000##FFFFFF
##4C64DC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c64dc;
/* rgb */ color: rgb(76, 100, 220);
/* oklch */ color: oklch(55.2% 0.185 270.7);
Tailwind
colors: {
  custom: {
    50: '#8d8fe8',
    500: '#4c64dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c64dc;
$custom-light: #8d8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64dc",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 230,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.18454,
    "h": 270.7
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#4C64DC
secondary
#DFD5A5
accent
#CD3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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