#4A64DF#4A64DF

#4A64DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.189 H 270.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4A64DF
RGBrgb(74, 100, 223)
HSLhsl(230, 70%, 58%)
HSVhsv(230, 67%, 87%)
CMYKcmyk(66.8%, 55.2%, 0%, 12.5%)
CIE-LABlab(46.84, 29.95, -65.72)
CIE-LCHlch(46.84, 72.22, 294.50°)
OKLaboklab(55.31% 0.0003 -0.1891)
OKLCHoklch(55.31% 0.189 270.1)
XYZxyz(20.6960, 15.8959, 71.7753)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64DF #DFC54A
analogous
#4AAEDF #4A64DF #7A4ADF
triadic
#4A64DF #DF4A64 #64DF4A
tetradic
#4A64DF #DF4AAE #DFC54A #4ADF7A
square
#4A64DF #DF4AAE #DFC54A #4ADF7A
split-complementary
#4A64DF #DF7A4A #AEDF4A
monochromatic
#1A3094 #2340C8 #4A64DF #7E91E8 #B2BDF1

Accessibility & contrast

On white

5.02
#4A64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4A64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64DF#FFFFFF#000000##FFFFFF
##4A64DF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a64df;
/* rgb */ color: rgb(74, 100, 223);
/* oklch */ color: oklch(55.3% 0.189 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d8fea',
    500: '#4a64df',
    950: '#000000',
  },
}
SCSS
$custom: #4a64df;
$custom-light: #8d8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64df",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 229.53,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.18909,
    "h": 270.1
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#4A64DF
secondary
#E0D6A5
accent
#CE3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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