#4C64FF#4C64FF

#4C64FF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.9% C 0.230 H 270.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4C64FF
RGBrgb(76, 100, 255)
HSLhsl(232, 100%, 65%)
HSVhsv(232, 70%, 100%)
CMYKcmyk(70.2%, 60.8%, 0%, 0%)
CIE-LABlab(49.34, 41.20, -79.59)
CIE-LCHlch(49.34, 89.62, 297.37°)
OKLaboklab(57.95% 0.0024 -0.2298)
OKLCHoklch(57.95% 0.23 270.6)
XYZxyz(25.5815, 17.8683, 96.6891)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64FF #FFE74C
analogous
#4CBEFF #4C64FF #8D4CFF
triadic
#4C64FF #FF4C64 #64FF4C
tetradic
#4C64FF #FF4CBE #FFE74C #4CFF8D
square
#4C64FF #FF4CBE #FFE74C #4CFF8D
split-complementary
#4C64FF #FF8D4C #BEFF4C
monochromatic
#001CD1 #0F2FFF #4C64FF #8999FF #C6CEFF

Accessibility & contrast

On white

4.59
#4C64FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4C64FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64FF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64FF#FFFFFF#000000##FFFFFF
##4C64FF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#008CA8
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c64ff;
/* rgb */ color: rgb(76, 100, 255);
/* oklch */ color: oklch(57.9% 0.230 270.6);
Tailwind
colors: {
  custom: {
    50: '#9490ff',
    500: '#4c64ff',
    950: '#000000',
  },
}
SCSS
$custom: #4c64ff;
$custom-light: #9490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64ff",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 255
  },
  "hsl": {
    "h": 231.955,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.2298,
    "h": 270.6
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#4C64FF
secondary
#F2EAB5
accent
#C700E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #4C64FF

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

Preview Lab → · Contrast checker → · Palette generator →

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