#4C64E5#4C64E5

#4C64E5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.196 H 270.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4C64E5
RGBrgb(76, 100, 229)
HSLhsl(231, 75%, 60%)
HSVhsv(231, 67%, 90%)
CMYKcmyk(66.8%, 56.3%, 0%, 10.2%)
CIE-LABlab(47.37, 32.32, -68.24)
CIE-LCHlch(47.37, 75.51, 295.34°)
OKLaboklab(55.88% 0.0024 -0.1965)
OKLCHoklch(55.88% 0.196 270.7)
XYZxyz(21.6757, 16.3059, 76.1186)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64E5 #E5CD4C
analogous
#4CB1E5 #4C64E5 #804CE5
triadic
#4C64E5 #E54C64 #64E54C
tetradic
#4C64E5 #E54CB1 #E5CD4C #4CE580
square
#4C64E5 #E54CB1 #E5CD4C #4CE580
split-complementary
#4C64E5 #E5804C #B1E54C
monochromatic
#172D9F #1F3BD5 #4C64E5 #8192ED #B7C1F5

Accessibility & contrast

On white

4.93
#4C64E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4C64E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64E5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64E5#FFFFFF#000000##FFFFFF
##4C64E51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c64e5;
/* rgb */ color: rgb(76, 100, 229);
/* oklch */ color: oklch(55.9% 0.196 270.7);
Tailwind
colors: {
  custom: {
    50: '#8f8fee',
    500: '#4c64e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c64e5;
$custom-light: #8f8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64e5",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 230.588,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.19648,
    "h": 270.7
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#4C64E5
secondary
#E4DBA9
accent
#D437F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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