#4C64CB#4C64CB

#4C64CB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.161 H 270.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C64CB
RGBrgb(76, 100, 203)
HSLhsl(229, 55%, 55%)
HSVhsv(229, 63%, 80%)
CMYKcmyk(62.6%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.58, 23.35, -56.33)
CIE-LCHlch(45.58, 60.98, 292.52°)
OKLaboklab(53.96% 0.0009 -0.1614)
OKLCHoklch(53.96% 0.161 270.3)
XYZxyz(18.3135, 14.9611, 58.4110)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64CB #CBB34C
analogous
#4CA4CB #4C64CB #734CCB
triadic
#4C64CB #CB4C64 #64CB4C
tetradic
#4C64CB #CB4CA4 #CBB34C #4CCB73
square
#4C64CB #CB4CA4 #CBB34C #4CCB73
split-complementary
#4C64CB #CB734C #A4CB4C
monochromatic
#233479 #3148A9 #4C64CB #7B8DD9 #ABB6E7

Accessibility & contrast

On white

5.26
#4C64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4C64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64CB#FFFFFF#000000##FFFFFF
##4C64CB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c64cb;
/* rgb */ color: rgb(76, 100, 203);
/* oklch */ color: oklch(54.0% 0.161 270.3);
Tailwind
colors: {
  custom: {
    50: '#8a8fdb',
    500: '#4c64cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c64cb;
$custom-light: #8a8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64cb",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 228.661,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.16143,
    "h": 270.3
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#4C64CB
secondary
#D4CA9F
accent
#C249DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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