#4C64BF#4C64BF

#4C64BF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.145 H 269.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C64BF
RGBrgb(76, 100, 191)
HSLhsl(227, 47%, 52%)
HSVhsv(227, 60%, 75%)
CMYKcmyk(60.2%, 47.6%, 0%, 25.1%)
CIE-LABlab(44.82, 19.23, -50.64)
CIE-LCHlch(44.82, 54.17, 290.80°)
OKLaboklab(53.13% -0.0005 -0.1447)
OKLCHoklch(53.13% 0.145 269.8)
XYZxyz(16.9385, 14.4110, 51.1691)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64BF #BFA74C
analogous
#4C9EBF #4C64BF #6D4CBF
triadic
#4C64BF #BF4C64 #64BF4C
tetradic
#4C64BF #BF4C9E #BFA74C #4CBF6D
square
#4C64BF #BF4C9E #BFA74C #4CBF6D
split-complementary
#4C64BF #BF6D4C #9EBF4C
monochromatic
#26346B #364B98 #4C64BF #798BCF #A6B2DF

Accessibility & contrast

On white

5.41
#4C64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4C64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64BF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64BF#FFFFFF#000000##FFFFFF
##4C64BF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c64bf;
/* rgb */ color: rgb(76, 100, 191);
/* oklch */ color: oklch(53.1% 0.145 269.8);
Tailwind
colors: {
  custom: {
    50: '#888fd3',
    500: '#4c64bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c64bf;
$custom-light: #888fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64bf",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 227.478,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.14467,
    "h": 269.8
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#4C64BF
secondary
#CCC29A
accent
#BB51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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