#4C64D9#4C64D9

#4C64D9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.181 H 270.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4C64D9
RGBrgb(76, 100, 217)
HSLhsl(230, 65%, 57%)
HSVhsv(230, 65%, 85%)
CMYKcmyk(65%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.52, 28.18, -62.82)
CIE-LCHlch(46.52, 68.85, 294.16°)
OKLaboklab(54.97% 0.0019 -0.1805)
OKLCHoklch(54.97% 0.181 270.6)
XYZxyz(20.0578, 15.6588, 67.5976)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64D9 #D9C14C
analogous
#4CABD9 #4C64D9 #7A4CD9
triadic
#4C64D9 #D94C64 #64D94C
tetradic
#4C64D9 #D94CAB #D9C14C #4CD97A
square
#4C64D9 #D94CAB #D9C14C #4CD97A
split-complementary
#4C64D9 #D97A4C #ABD94C
monochromatic
#1E318D #2942BF #4C64D9 #7E90E4 #B1BBEE

Accessibility & contrast

On white

5.08
#4C64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4C64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64D9#FFFFFF#000000##FFFFFF
##4C64D91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A75DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c64d9;
/* rgb */ color: rgb(76, 100, 217);
/* oklch */ color: oklch(55.0% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4c64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c64d9;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64d9",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 229.787,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.18052,
    "h": 270.6
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#4C64D9
secondary
#DDD3A4
accent
#CB40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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