#4A64BC#4A64BC

#4A64BC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.141 H 268.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4A64BC
RGBrgb(74, 100, 188)
HSLhsl(226, 46%, 51%)
HSVhsv(226, 61%, 74%)
CMYKcmyk(60.6%, 46.8%, 0%, 26.3%)
CIE-LABlab(44.52, 17.82, -49.38)
CIE-LCHlch(44.52, 52.50, 289.84°)
OKLaboklab(52.82% -0.0029 -0.141)
OKLCHoklch(52.82% 0.141 268.8)
XYZxyz(16.4553, 14.1997, 49.4409)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64BC #BCA24A
analogous
#4A9DBC #4A64BC #694ABC
triadic
#4A64BC #BC4A64 #64BC4A
tetradic
#4A64BC #BC4A9D #BCA24A #4ABC69
square
#4A64BC #BC4A9D #BCA24A #4ABC69
split-complementary
#4A64BC #BC694A #9DBC4A
monochromatic
#263466 #364B93 #4A64BC #778ACD #A3B1DD

Accessibility & contrast

On white

5.47
#4A64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4A64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64BC#FFFFFF#000000##FFFFFF
##4A64BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a64bc;
/* rgb */ color: rgb(74, 100, 188);
/* oklch */ color: oklch(52.8% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#878fd1',
    500: '#4a64bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a64bc;
$custom-light: #878fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64bc",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 226.316,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.14106,
    "h": 268.8
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#4A64BC
secondary
#CABF98
accent
#B852D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4A64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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