#4A64DB#4A64DB

#4A64DB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.184 H 270.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4A64DB
RGBrgb(74, 100, 219)
HSLhsl(229, 67%, 57%)
HSVhsv(229, 66%, 86%)
CMYKcmyk(66.2%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.56, 28.56, -63.91)
CIE-LCHlch(46.56, 70.00, 294.08°)
OKLaboklab(55.01% 0.0001 -0.1838)
OKLCHoklch(55.01% 0.184 270)
XYZxyz(20.1630, 15.6828, 68.9686)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64DB #DBC14A
analogous
#4AADDB #4A64DB #784ADB
triadic
#4A64DB #DB4A64 #64DB4A
tetradic
#4A64DB #DB4AAD #DBC14A #4ADB78
square
#4A64DB #DB4AAD #DBC14A #4ADB78
split-complementary
#4A64DB #DB784A #ADDB4A
monochromatic
#1C318E #2642C1 #4A64DB #7D90E5 #B0BBEF

Accessibility & contrast

On white

5.08
#4A64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4A64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64DB#FFFFFF#000000##FFFFFF
##4A64DB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a64db;
/* rgb */ color: rgb(74, 100, 219);
/* oklch */ color: oklch(55.0% 0.184 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c8fe7',
    500: '#4a64db',
    950: '#000000',
  },
}
SCSS
$custom: #4a64db;
$custom-light: #8c8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64db",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 229.241,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.18376,
    "h": 270
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#4A64DB
secondary
#DED3A3
accent
#CB3EEA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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