#4C64AF#4C64AF

#4C64AF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.122 H 268.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4C64AF
RGBrgb(76, 100, 175)
HSLhsl(225, 39%, 49%)
HSVhsv(225, 57%, 69%)
CMYKcmyk(56.6%, 42.9%, 0%, 31.4%)
CIE-LABlab(43.86, 13.79, -42.83)
CIE-LCHlch(43.86, 45.00, 287.85°)
OKLaboklab(52.1% -0.003 -0.1217)
OKLCHoklch(52.1% 0.122 268.6)
XYZxyz(15.2729, 13.7448, 42.3973)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64AF #AF974C
analogous
#4C96AF #4C64AF #664CAF
triadic
#4C64AF #AF4C64 #64AF4C
tetradic
#4C64AF #AF4C96 #AF974C #4CAF66
square
#4C64AF #AF4C96 #AF974C #4CAF66
split-complementary
#4C64AF #AF664C #96AF4C
monochromatic
#27335A #394C84 #4C64AF #7588C3 #A0ADD6

Accessibility & contrast

On white

5.60
#4C64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4C64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64AF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64AF#FFFFFF#000000##FFFFFF
##4C64AF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#3764AD
Tritanopia (blue-blind)
#0E7481
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c64af;
/* rgb */ color: rgb(76, 100, 175);
/* oklch */ color: oklch(52.1% 0.122 268.6);
Tailwind
colors: {
  custom: {
    50: '#868fc7',
    500: '#4c64af',
    950: '#000000',
  },
}
SCSS
$custom: #4c64af;
$custom-light: #868fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64af",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 225.455,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.12179,
    "h": 268.6
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#4C64AF
secondary
#C2B794
accent
#B358CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4C64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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