#4A64CD#4A64CD

#4A64CD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.165 H 269.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A64CD
RGBrgb(74, 100, 205)
HSLhsl(228, 57%, 55%)
HSVhsv(228, 64%, 80%)
CMYKcmyk(63.9%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.60, 23.70, -57.45)
CIE-LCHlch(45.60, 62.15, 292.42°)
OKLaboklab(53.99% -0.0009 -0.1648)
OKLCHoklch(53.99% 0.165 269.7)
XYZxyz(18.3969, 14.9763, 59.6670)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64CD #CDB34A
analogous
#4AA5CD #4A64CD #724ACD
triadic
#4A64CD #CD4A64 #64CD4A
tetradic
#4A64CD #CD4AA5 #CDB34A #4ACD72
square
#4A64CD #CD4AA5 #CDB34A #4ACD72
split-complementary
#4A64CD #CD724A #A5CD4A
monochromatic
#22347B #2F48AB #4A64CD #7A8DDA #AAB6E7

Accessibility & contrast

On white

5.26
#4A64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4A64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64CD#FFFFFF#000000##FFFFFF
##4A64CD1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a64cd;
/* rgb */ color: rgb(74, 100, 205);
/* oklch */ color: oklch(54.0% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#898fdd',
    500: '#4a64cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a64cd;
$custom-light: #898fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64cd",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 228.092,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.16477,
    "h": 269.7
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#4A64CD
secondary
#D5CA9E
accent
#C248E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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