#4A64D2#4A64D2

#4A64D2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.172 H 269.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4A64D2
RGBrgb(74, 100, 210)
HSLhsl(229, 60%, 56%)
HSVhsv(229, 65%, 82%)
CMYKcmyk(64.8%, 52.4%, 0%, 17.6%)
CIE-LABlab(45.94, 25.44, -59.78)
CIE-LCHlch(45.94, 64.97, 293.05°)
OKLaboklab(54.35% -0.0005 -0.1716)
OKLCHoklch(54.35% 0.172 269.8)
XYZxyz(19.0101, 15.2216, 62.8965)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64D2 #D2B84A
analogous
#4AA8D2 #4A64D2 #744AD2
triadic
#4A64D2 #D24A64 #64D24A
tetradic
#4A64D2 #D24AA8 #D2B84A #4AD274
square
#4A64D2 #D24AA8 #D2B84A #4AD274
split-complementary
#4A64D2 #D2744A #A8D24A
monochromatic
#203381 #2C46B2 #4A64D2 #7B8EDE #ACB8EA

Accessibility & contrast

On white

5.19
#4A64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64D2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64D2#FFFFFF#000000##FFFFFF
##4A64D21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a64d2;
/* rgb */ color: rgb(74, 100, 210);
/* oklch */ color: oklch(54.3% 0.172 269.8);
Tailwind
colors: {
  custom: {
    50: '#8a8fe0',
    500: '#4a64d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a64d2;
$custom-light: #8a8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64d2",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 228.529,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.17161,
    "h": 269.8
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#4A64D2
secondary
#D8CDA0
accent
#C544E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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