#4A64DC#4A64DC

#4A64DC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.185 H 270.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4A64DC
RGBrgb(74, 100, 220)
HSLhsl(229, 68%, 58%)
HSVhsv(229, 66%, 86%)
CMYKcmyk(66.4%, 54.5%, 0%, 13.7%)
CIE-LABlab(46.63, 28.91, -64.36)
CIE-LCHlch(46.63, 70.56, 294.19°)
OKLaboklab(55.08% 0.0001 -0.1851)
OKLCHoklch(55.08% 0.185 270)
XYZxyz(20.2951, 15.7356, 69.6640)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64DC #DCC24A
analogous
#4AADDC #4A64DC #794ADC
triadic
#4A64DC #DC4A64 #64DC4A
tetradic
#4A64DC #DC4AAD #DCC24A #4ADC79
square
#4A64DC #DC4AAD #DCC24A #4ADC79
split-complementary
#4A64DC #DC794A #ADDC4A
monochromatic
#1C3090 #2642C3 #4A64DC #7D90E6 #B1BCF0

Accessibility & contrast

On white

5.06
#4A64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4A64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64DC#FFFFFF#000000##FFFFFF
##4A64DC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a64dc;
/* rgb */ color: rgb(74, 100, 220);
/* oklch */ color: oklch(55.1% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c8fe8',
    500: '#4a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a64dc;
$custom-light: #8c8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64dc",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 229.315,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.1851,
    "h": 270
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#4A64DC
secondary
#DED4A4
accent
#CC3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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