#4C64E6#4C64E6

#4C64E6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.0% C 0.198 H 270.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4C64E6
RGBrgb(76, 100, 230)
HSLhsl(231, 75%, 60%)
HSVhsv(231, 67%, 90%)
CMYKcmyk(67%, 56.5%, 0%, 9.8%)
CIE-LABlab(47.45, 32.66, -68.69)
CIE-LCHlch(47.45, 76.06, 295.43°)
OKLaboklab(55.95% 0.0025 -0.1978)
OKLCHoklch(55.95% 0.198 270.7)
XYZxyz(21.8157, 16.3620, 76.8561)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64E6 #E6CE4C
analogous
#4CB1E6 #4C64E6 #814CE6
triadic
#4C64E6 #E64C64 #64E64C
tetradic
#4C64E6 #E64CB1 #E6CE4C #4CE681
square
#4C64E6 #E64CB1 #E6CE4C #4CE681
split-complementary
#4C64E6 #E6814C #B1E64C
monochromatic
#172CA1 #1E3BD7 #4C64E6 #8293ED #B7C1F5

Accessibility & contrast

On white

4.91
#4C64E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4C64E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64E6#FFFFFF#000000##FFFFFF
##4C64E61.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c64e6;
/* rgb */ color: rgb(76, 100, 230);
/* oklch */ color: oklch(56.0% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#8f8fef',
    500: '#4c64e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c64e6;
$custom-light: #8f8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64e6",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 230.649,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.19779,
    "h": 270.7
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#4C64E6
secondary
#E5DBA9
accent
#D536F2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4C64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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