#4A64D4#4A64D4

#4A64D4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.174 H 269.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A64D4
RGBrgb(74, 100, 212)
HSLhsl(229, 62%, 56%)
HSVhsv(229, 65%, 83%)
CMYKcmyk(65.1%, 52.8%, 0%, 16.9%)
CIE-LABlab(46.07, 26.13, -60.70)
CIE-LCHlch(46.07, 66.09, 293.29°)
OKLaboklab(54.49% -0.0004 -0.1743)
OKLCHoklch(54.49% 0.174 269.9)
XYZxyz(19.2608, 15.3219, 64.2170)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64D4 #D4BA4A
analogous
#4AA9D4 #4A64D4 #754AD4
triadic
#4A64D4 #D44A64 #64D44A
tetradic
#4A64D4 #D44AA9 #D4BA4A #4AD475
square
#4A64D4 #D44AA9 #D4BA4A #4AD475
split-complementary
#4A64D4 #D4754A #A9D44A
monochromatic
#1F3284 #2B45B6 #4A64D4 #7B8EE0 #ADB9EB

Accessibility & contrast

On white

5.17
#4A64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4A64D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64D4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64D4#FFFFFF#000000##FFFFFF
##4A64D41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1974D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a64d4;
/* rgb */ color: rgb(74, 100, 212);
/* oklch */ color: oklch(54.5% 0.174 269.9);
Tailwind
colors: {
  custom: {
    50: '#8b8fe2',
    500: '#4a64d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a64d4;
$custom-light: #8b8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64d4",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 228.696,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.17433,
    "h": 269.9
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#4A64D4
secondary
#D9CFA0
accent
#C643E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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