#4C64E2#4C64E2

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

Color values

HEX#4C64E2
RGBrgb(76, 100, 226)
HSLhsl(230, 72%, 59%)
HSVhsv(230, 66%, 89%)
CMYKcmyk(66.4%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.16, 31.29, -66.89)
CIE-LCHlch(47.16, 73.85, 295.06°)
OKLaboklab(55.65% 0.0024 -0.1925)
OKLCHoklch(55.65% 0.193 270.7)
XYZxyz(21.2605, 16.1398, 73.9316)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64E2 #E2CA4C
analogous
#4CAFE2 #4C64E2 #7F4CE2
triadic
#4C64E2 #E24C64 #64E24C
tetradic
#4C64E2 #E24CAF #E2CA4C #4CE27F
square
#4C64E2 #E24CAF #E2CA4C #4CE27F
split-complementary
#4C64E2 #E27F4C #AFE24C
monochromatic
#192E9B #223DCF #4C64E2 #8192EB #B5BFF3

Accessibility & contrast

On white

4.97
#4C64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4C64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64E2#FFFFFF#000000##FFFFFF
##4C64E21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c64e2;
/* rgb */ color: rgb(76, 100, 226);
/* oklch */ color: oklch(55.6% 0.193 270.7);
Tailwind
colors: {
  custom: {
    50: '#8e8fec',
    500: '#4c64e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c64e2;
$custom-light: #8e8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64e2",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 230.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.19251,
    "h": 270.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#4C64E2
secondary
#E2D9A8
accent
#D239EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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