#4C64DD#4C64DD

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

Color values

HEX#4C64DD
RGBrgb(76, 100, 221)
HSLhsl(230, 68%, 58%)
HSVhsv(230, 66%, 87%)
CMYKcmyk(65.6%, 54.8%, 0%, 13.3%)
CIE-LABlab(46.80, 29.56, -64.64)
CIE-LCHlch(46.80, 71.08, 294.58°)
OKLaboklab(55.27% 0.0022 -0.1859)
OKLCHoklch(55.27% 0.186 270.7)
XYZxyz(20.5844, 15.8694, 70.3709)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64DD #DDC54C
analogous
#4CACDD #4C64DD #7C4CDD
triadic
#4C64DD #DD4C64 #64DD4C
tetradic
#4C64DD #DD4CAC #DDC54C #4CDD7C
square
#4C64DD #DD4CAC #DDC54C #4CDD7C
split-complementary
#4C64DD #DD7C4C #ACDD4C
monochromatic
#1C3093 #2640C6 #4C64DD #7F91E7 #B3BDF1

Accessibility & contrast

On white

5.03
#4C64DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4C64DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64DD#FFFFFF#000000##FFFFFF
##4C64DD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c64dd;
/* rgb */ color: rgb(76, 100, 221);
/* oklch */ color: oklch(55.3% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#8d8fe8',
    500: '#4c64dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c64dd;
$custom-light: #8d8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64dd",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 230.069,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.18587,
    "h": 270.7
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#4C64DD
secondary
#DFD6A6
accent
#CE3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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