#4C64BB#4C64BB

#4C64BB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.139 H 269.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C64BB
RGBrgb(76, 100, 187)
HSLhsl(227, 45%, 52%)
HSVhsv(227, 59%, 73%)
CMYKcmyk(59.4%, 46.5%, 0%, 26.7%)
CIE-LABlab(44.57, 17.86, -48.71)
CIE-LCHlch(44.57, 51.88, 290.14°)
OKLaboklab(52.87% -0.001 -0.139)
OKLCHoklch(52.87% 0.139 269.6)
XYZxyz(16.5043, 14.2374, 48.8824)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64BB #BBA34C
analogous
#4C9CBB #4C64BB #6C4CBB
triadic
#4C64BB #BB4C64 #64BB4C
tetradic
#4C64BB #BB4C9C #BBA34C #4CBB6C
square
#4C64BB #BB4C9C #BBA34C #4CBB6C
split-complementary
#4C64BB #BB6C4C #9CBB4C
monochromatic
#273466 #384B92 #4C64BB #788ACC #A5B1DD

Accessibility & contrast

On white

5.46
#4C64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4C64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64BB#FFFFFF#000000##FFFFFF
##4C64BB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c64bb;
/* rgb */ color: rgb(76, 100, 187);
/* oklch */ color: oklch(52.9% 0.139 269.6);
Tailwind
colors: {
  custom: {
    50: '#878fd0',
    500: '#4c64bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c64bb;
$custom-light: #878fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64bb",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 227.027,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.13901,
    "h": 269.6
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#4C64BB
secondary
#CABF99
accent
#B953D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4C64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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