#4C64DA#4C64DA

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

Color values

HEX#4C64DA
RGBrgb(76, 100, 218)
HSLhsl(230, 66%, 58%)
HSVhsv(230, 65%, 85%)
CMYKcmyk(65.1%, 54.1%, 0%, 14.5%)
CIE-LABlab(46.59, 28.53, -63.27)
CIE-LCHlch(46.59, 69.41, 294.27°)
OKLaboklab(55.04% 0.002 -0.1819)
OKLCHoklch(55.04% 0.182 270.6)
XYZxyz(20.1883, 15.7110, 68.2847)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64DA #DAC24C
analogous
#4CABDA #4C64DA #7B4CDA
triadic
#4C64DA #DA4C64 #64DA4C
tetradic
#4C64DA #DA4CAB #DAC24C #4CDA7B
square
#4C64DA #DA4CAB #DAC24C #4CDA7B
split-complementary
#4C64DA #DA7B4C #ABDA4C
monochromatic
#1D308E #2842C1 #4C64DA #7F90E4 #B1BCEF

Accessibility & contrast

On white

5.07
#4C64DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4C64DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64DA#FFFFFF#000000##FFFFFF
##4C64DA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0575DE
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c64da;
/* rgb */ color: rgb(76, 100, 218);
/* oklch */ color: oklch(55.0% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fe6',
    500: '#4c64da',
    950: '#000000',
  },
}
SCSS
$custom: #4c64da;
$custom-light: #8d8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64da",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 229.859,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55044,
    "c": 0.18186,
    "h": 270.6
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#4C64DA
secondary
#DDD4A4
accent
#CC3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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