#4C64CE#4C64CE

#4C64CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.166 H 270.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4C64CE
RGBrgb(76, 100, 206)
HSLhsl(229, 57%, 55%)
HSVhsv(229, 63%, 81%)
CMYKcmyk(63.1%, 51.5%, 0%, 19.2%)
CIE-LABlab(45.78, 24.39, -57.74)
CIE-LCHlch(45.78, 62.68, 292.90°)
OKLaboklab(54.17% 0.0012 -0.1656)
OKLCHoklch(54.17% 0.166 270.4)
XYZxyz(18.6745, 15.1054, 60.3121)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64CE #CEB64C
analogous
#4CA5CE #4C64CE #754CCE
triadic
#4C64CE #CE4C64 #64CE4C
tetradic
#4C64CE #CE4CA5 #CEB64C #4CCE75
square
#4C64CE #CE4CA5 #CEB64C #4CCE75
split-complementary
#4C64CE #CE754C #A5CE4C
monochromatic
#22337D #2F47AD #4C64CE #7C8EDB #ACB7E8

Accessibility & contrast

On white

5.22
#4C64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4C64CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64CE#FFFFFF#000000##FFFFFF
##4C64CE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c64ce;
/* rgb */ color: rgb(76, 100, 206);
/* oklch */ color: oklch(54.2% 0.166 270.4);
Tailwind
colors: {
  custom: {
    50: '#8b8fde',
    500: '#4c64ce',
    950: '#000000',
  },
}
SCSS
$custom: #4c64ce;
$custom-light: #8b8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64ce",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 228.923,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.16556,
    "h": 270.4
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#4C64CE
secondary
#D6CCA0
accent
#C448E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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