#4A64D5#4A64D5

#4A64D5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.176 H 269.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4A64D5
RGBrgb(74, 100, 213)
HSLhsl(229, 62%, 56%)
HSVhsv(229, 65%, 84%)
CMYKcmyk(65.3%, 53.1%, 0%, 16.5%)
CIE-LABlab(46.14, 26.48, -61.16)
CIE-LCHlch(46.14, 66.65, 293.41°)
OKLaboklab(54.57% -0.0003 -0.1757)
OKLCHoklch(54.57% 0.176 269.9)
XYZxyz(19.3874, 15.3725, 64.8834)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64D5 #D5BB4A
analogous
#4AAAD5 #4A64D5 #764AD5
triadic
#4A64D5 #D54A64 #64D54A
tetradic
#4A64D5 #D54AAA #D5BB4A #4AD576
square
#4A64D5 #D54AAA #D5BB4A #4AD576
split-complementary
#4A64D5 #D5764A #AAD54A
monochromatic
#1F3286 #2B45B7 #4A64D5 #7C8FE1 #ADB9EC

Accessibility & contrast

On white

5.15
#4A64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4A64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64D5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64D5#FFFFFF#000000##FFFFFF
##4A64D51.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a64d5;
/* rgb */ color: rgb(74, 100, 213);
/* oklch */ color: oklch(54.6% 0.176 269.9);
Tailwind
colors: {
  custom: {
    50: '#8b8fe3',
    500: '#4a64d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a64d5;
$custom-light: #8b8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64d5",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 228.777,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.17569,
    "h": 269.9
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#4A64D5
secondary
#DACFA1
accent
#C742E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4A64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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