#4C64C2#4C64C2

#4C64C2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.149 H 270.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4C64C2
RGBrgb(76, 100, 194)
HSLhsl(228, 49%, 53%)
HSVhsv(228, 61%, 76%)
CMYKcmyk(60.8%, 48.5%, 0%, 23.9%)
CIE-LABlab(45.00, 20.26, -52.07)
CIE-LCHlch(45.00, 55.88, 291.26°)
OKLaboklab(53.34% -0.0001 -0.1489)
OKLCHoklch(53.34% 0.149 270)
XYZxyz(17.2720, 14.5445, 52.9256)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64C2 #C2AA4C
analogous
#4C9FC2 #4C64C2 #6F4CC2
triadic
#4C64C2 #C24C64 #64C24C
tetradic
#4C64C2 #C24C9F #C2AA4C #4CC26F
square
#4C64C2 #C24C9F #C2AA4C #4CC26F
split-complementary
#4C64C2 #C26F4C #9FC24C
monochromatic
#26346E #354A9C #4C64C2 #7A8CD2 #A7B3E1

Accessibility & contrast

On white

5.37
#4C64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4C64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64C2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64C2#FFFFFF#000000##FFFFFF
##4C64C21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3470C5
Deuteranopia (green-blind)
#1E66C0
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c64c2;
/* rgb */ color: rgb(76, 100, 194);
/* oklch */ color: oklch(53.3% 0.149 270.0);
Tailwind
colors: {
  custom: {
    50: '#898fd5',
    500: '#4c64c2',
    950: '#000000',
  },
}
SCSS
$custom: #4c64c2;
$custom-light: #898fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64c2",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 227.797,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.1489,
    "h": 270
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#4C64C2
secondary
#CEC49B
accent
#BD4FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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