#4C64E1#4C64E1

#4C64E1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.191 H 270.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4C64E1
RGBrgb(76, 100, 225)
HSLhsl(230, 71%, 59%)
HSVhsv(230, 66%, 88%)
CMYKcmyk(66.2%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.09, 30.94, -66.45)
CIE-LCHlch(47.09, 73.30, 294.97°)
OKLaboklab(55.57% 0.0023 -0.1912)
OKLCHoklch(55.57% 0.191 270.7)
XYZxyz(21.1237, 16.0851, 73.2111)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64E1 #E1C94C
analogous
#4CAEE1 #4C64E1 #7F4CE1
triadic
#4C64E1 #E14C64 #64E14C
tetradic
#4C64E1 #E14CAE #E1C94C #4CE17F
square
#4C64E1 #E14CAE #E1C94C #4CE17F
split-complementary
#4C64E1 #E17F4C #AEE14C
monochromatic
#1A2E99 #223ECD #4C64E1 #8091EA #B5BFF3

Accessibility & contrast

On white

4.98
#4C64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4C64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64E1#FFFFFF#000000##FFFFFF
##4C64E11.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c64e1;
/* rgb */ color: rgb(76, 100, 225);
/* oklch */ color: oklch(55.6% 0.191 270.7);
Tailwind
colors: {
  custom: {
    50: '#8e8feb',
    500: '#4c64e1',
    950: '#000000',
  },
}
SCSS
$custom: #4c64e1;
$custom-light: #8e8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64e1",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 230.336,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.19119,
    "h": 270.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#4C64E1
secondary
#E2D8A7
accent
#D13AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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