#4A64DE#4A64DE

#4A64DE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.188 H 270.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A64DE
RGBrgb(74, 100, 222)
HSLhsl(229, 69%, 58%)
HSVhsv(229, 67%, 87%)
CMYKcmyk(66.7%, 55%, 0%, 12.9%)
CIE-LABlab(46.77, 29.61, -65.27)
CIE-LCHlch(46.77, 71.67, 294.40°)
OKLaboklab(55.24% 0.0002 -0.1878)
OKLCHoklch(55.24% 0.188 270.1)
XYZxyz(20.5615, 15.8422, 71.0673)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64DE #DEC44A
analogous
#4AAEDE #4A64DE #7A4ADE
triadic
#4A64DE #DE4A64 #64DE4A
tetradic
#4A64DE #DE4AAE #DEC44A #4ADE7A
square
#4A64DE #DE4AAE #DEC44A #4ADE7A
split-complementary
#4A64DE #DE7A4A #AEDE4A
monochromatic
#1B3093 #2441C7 #4A64DE #7E90E7 #B2BDF1

Accessibility & contrast

On white

5.04
#4A64DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4A64DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64DE#FFFFFF#000000##FFFFFF
##4A64DE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a64de;
/* rgb */ color: rgb(74, 100, 222);
/* oklch */ color: oklch(55.2% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d8fe9',
    500: '#4a64de',
    950: '#000000',
  },
}
SCSS
$custom: #4a64de;
$custom-light: #8d8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64de",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 229.459,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.18776,
    "h": 270.1
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#4A64DE
secondary
#DFD5A4
accent
#CD3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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