#4A64CB#4A64CB

#4A64CB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.162 H 269.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A64CB
RGBrgb(74, 100, 203)
HSLhsl(228, 55%, 54%)
HSVhsv(228, 64%, 80%)
CMYKcmyk(63.5%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.47, 23.01, -56.52)
CIE-LCHlch(45.47, 61.02, 292.15°)
OKLaboklab(53.85% -0.0011 -0.162)
OKLCHoklch(53.85% 0.162 269.6)
XYZxyz(18.1571, 14.8804, 58.4037)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64CB #CBB14A
analogous
#4AA5CB #4A64CB #714ACB
triadic
#4A64CB #CB4A64 #64CB4A
tetradic
#4A64CB #CB4AA5 #CBB14A #4ACB71
square
#4A64CB #CB4AA5 #CBB14A #4ACB71
split-complementary
#4A64CB #CB714A #A5CB4A
monochromatic
#233478 #3048A8 #4A64CB #7A8DD9 #A9B5E6

Accessibility & contrast

On white

5.28
#4A64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4A64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64CB#FFFFFF#000000##FFFFFF
##4A64CB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a64cb;
/* rgb */ color: rgb(74, 100, 203);
/* oklch */ color: oklch(53.8% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#898fdb',
    500: '#4a64cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a64cb;
$custom-light: #898fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64cb",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 227.907,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.16202,
    "h": 269.6
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#4A64CB
secondary
#D4C99D
accent
#C149DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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