#4A64D0#4A64D0

#4A64D0 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.169 H 269.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A64D0
RGBrgb(74, 100, 208)
HSLhsl(228, 59%, 55%)
HSVhsv(228, 64%, 82%)
CMYKcmyk(64.4%, 51.9%, 0%, 18.4%)
CIE-LABlab(45.80, 24.74, -58.85)
CIE-LCHlch(45.80, 63.84, 292.80°)
OKLaboklab(54.2% -0.0007 -0.1689)
OKLCHoklch(54.2% 0.169 269.8)
XYZxyz(18.7625, 15.1226, 61.5925)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64D0 #D0B64A
analogous
#4AA7D0 #4A64D0 #734AD0
triadic
#4A64D0 #D04A64 #64D04A
tetradic
#4A64D0 #D04AA7 #D0B64A #4AD073
square
#4A64D0 #D04AA7 #D0B64A #4AD073
split-complementary
#4A64D0 #D0734A #A7D04A
monochromatic
#21337F #2E47AF #4A64D0 #7B8EDD #ABB7E9

Accessibility & contrast

On white

5.22
#4A64D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4A64D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64D0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64D0#FFFFFF#000000##FFFFFF
##4A64D01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2173D4
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a64d0;
/* rgb */ color: rgb(74, 100, 208);
/* oklch */ color: oklch(54.2% 0.169 269.8);
Tailwind
colors: {
  custom: {
    50: '#8a8fdf',
    500: '#4a64d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a64d0;
$custom-light: #8a8fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64d0",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 228.358,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.16888,
    "h": 269.8
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#4A64D0
secondary
#D7CC9F
accent
#C446E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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