#4C64BE#4C64BE

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

Color values

HEX#4C64BE
RGBrgb(76, 100, 190)
HSLhsl(227, 47%, 52%)
HSVhsv(227, 60%, 75%)
CMYKcmyk(60%, 47.4%, 0%, 25.5%)
CIE-LABlab(44.76, 18.89, -50.16)
CIE-LCHlch(44.76, 53.60, 290.64°)
OKLaboklab(53.07% -0.0006 -0.1433)
OKLCHoklch(53.07% 0.143 269.8)
XYZxyz(16.8288, 14.3672, 50.5915)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64BE #BEA64C
analogous
#4C9DBE #4C64BE #6D4CBE
triadic
#4C64BE #BE4C64 #64BE4C
tetradic
#4C64BE #BE4C9D #BEA64C #4CBE6D
square
#4C64BE #BE4C9D #BEA64C #4CBE6D
split-complementary
#4C64BE #BE6D4C #9DBE4C
monochromatic
#263469 #374B96 #4C64BE #798BCE #A6B2DF

Accessibility & contrast

On white

5.42
#4C64BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4C64BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64BE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64BE#FFFFFF#000000##FFFFFF
##4C64BE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c64be;
/* rgb */ color: rgb(76, 100, 190);
/* oklch */ color: oklch(53.1% 0.143 269.8);
Tailwind
colors: {
  custom: {
    50: '#888fd2',
    500: '#4c64be',
    950: '#000000',
  },
}
SCSS
$custom: #4c64be;
$custom-light: #888fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64be",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 227.368,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.14326,
    "h": 269.8
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#4C64BE
secondary
#CCC19A
accent
#BA51D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4C64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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