#4A64E1#4A64E1

#4A64E1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.192 H 270.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A64E1
RGBrgb(74, 100, 225)
HSLhsl(230, 72%, 59%)
HSVhsv(230, 67%, 88%)
CMYKcmyk(67.1%, 55.6%, 0%, 11.8%)
CIE-LABlab(46.98, 30.65, -66.62)
CIE-LCHlch(46.98, 73.33, 294.70°)
OKLaboklab(55.46% 0.0004 -0.1917)
OKLCHoklch(55.46% 0.192 270.1)
XYZxyz(20.9672, 16.0044, 73.2038)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64E1 #E1C74A
analogous
#4AAFE1 #4A64E1 #7B4AE1
triadic
#4A64E1 #E14A64 #64E14A
tetradic
#4A64E1 #E14AAF #E1C74A #4AE17B
square
#4A64E1 #E14AAF #E1C74A #4AE17B
split-complementary
#4A64E1 #E17B4A #AFE14A
monochromatic
#192F97 #223FCC #4A64E1 #7E91EA #B3BEF2

Accessibility & contrast

On white

5.00
#4A64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4A64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64E1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64E1#FFFFFF#000000##FFFFFF
##4A64E11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a64e1;
/* rgb */ color: rgb(74, 100, 225);
/* oklch */ color: oklch(55.5% 0.192 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d8feb',
    500: '#4a64e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a64e1;
$custom-light: #8d8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64e1",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 229.669,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.19174,
    "h": 270.1
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#4A64E1
secondary
#E1D7A6
accent
#CF39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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