#4A64E0#4A64E0

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

Color values

HEX#4A64E0
RGBrgb(74, 100, 224)
HSLhsl(230, 71%, 58%)
HSVhsv(230, 67%, 88%)
CMYKcmyk(67%, 55.4%, 0%, 12.2%)
CIE-LABlab(46.91, 30.30, -66.17)
CIE-LCHlch(46.91, 72.78, 294.60°)
OKLaboklab(55.39% 0.0003 -0.1904)
OKLCHoklch(55.39% 0.19 270.1)
XYZxyz(20.8312, 15.9500, 72.4874)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64E0 #E0C64A
analogous
#4AAFE0 #4A64E0 #7B4AE0
triadic
#4A64E0 #E04A64 #64E04A
tetradic
#4A64E0 #E04AAF #E0C64A #4AE07B
square
#4A64E0 #E04AAF #E0C64A #4AE07B
split-complementary
#4A64E0 #E07B4A #AFE04A
monochromatic
#1A2F96 #2340CA #4A64E0 #7E91E9 #B3BDF2

Accessibility & contrast

On white

5.01
#4A64E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4A64E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64E0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64E0#FFFFFF#000000##FFFFFF
##4A64E01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a64e0;
/* rgb */ color: rgb(74, 100, 224);
/* oklch */ color: oklch(55.4% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d8feb',
    500: '#4a64e0',
    950: '#000000',
  },
}
SCSS
$custom: #4a64e0;
$custom-light: #8d8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64e0",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 229.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.19042,
    "h": 270.1
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#4A64E0
secondary
#E1D6A5
accent
#CE3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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