#4A64D9#4A64D9

#4A64D9 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.181 H 270.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4A64D9
RGBrgb(74, 100, 217)
HSLhsl(229, 65%, 57%)
HSVhsv(229, 66%, 85%)
CMYKcmyk(65.9%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.42, 27.87, -63.00)
CIE-LCHlch(46.42, 68.89, 293.87°)
OKLaboklab(54.86% 0 -0.1811)
OKLCHoklch(54.86% 0.181 270)
XYZxyz(19.9013, 15.5781, 67.5903)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64D9 #D9BF4A
analogous
#4AACD9 #4A64D9 #784AD9
triadic
#4A64D9 #D94A64 #64D94A
tetradic
#4A64D9 #D94AAC #D9BF4A #4AD978
square
#4A64D9 #D94AAC #D9BF4A #4AD978
split-complementary
#4A64D9 #D9784A #ACD94A
monochromatic
#1D318B #2843BE #4A64D9 #7D8FE4 #AFBBEE

Accessibility & contrast

On white

5.10
#4A64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4A64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64D9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64D9#FFFFFF#000000##FFFFFF
##4A64D91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a64d9;
/* rgb */ color: rgb(74, 100, 217);
/* oklch */ color: oklch(54.9% 0.181 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c8fe5',
    500: '#4a64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a64d9;
$custom-light: #8c8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64d9",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 229.091,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.18108,
    "h": 270
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#4A64D9
secondary
#DCD2A2
accent
#CA40E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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