#4C64DE#4C64DE

#4C64DE is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.187 H 270.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C64DE
RGBrgb(76, 100, 222)
HSLhsl(230, 69%, 58%)
HSVhsv(230, 66%, 87%)
CMYKcmyk(65.8%, 55%, 0%, 12.9%)
CIE-LABlab(46.87, 29.91, -65.09)
CIE-LCHlch(46.87, 71.63, 294.68°)
OKLaboklab(55.34% 0.0022 -0.1872)
OKLCHoklch(55.34% 0.187 270.7)
XYZxyz(20.7180, 15.9229, 71.0747)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64DE #DEC64C
analogous
#4CADDE #4C64DE #7D4CDE
triadic
#4C64DE #DE4C64 #64DE4C
tetradic
#4C64DE #DE4CAD #DEC64C #4CDE7D
square
#4C64DE #DE4CAD #DEC64C #4CDE7D
split-complementary
#4C64DE #DE7D4C #ADDE4C
monochromatic
#1B2F94 #2540C8 #4C64DE #8091E8 #B3BDF1

Accessibility & contrast

On white

5.02
#4C64DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4C64DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64DE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64DE#FFFFFF#000000##FFFFFF
##4C64DE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c64de;
/* rgb */ color: rgb(76, 100, 222);
/* oklch */ color: oklch(55.3% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#8d8fe9',
    500: '#4c64de',
    950: '#000000',
  },
}
SCSS
$custom: #4c64de;
$custom-light: #8d8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64de",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 230.137,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.18721,
    "h": 270.7
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#4C64DE
secondary
#E0D6A6
accent
#CF3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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