#4C64DB#4C64DB

#4C64DB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.183 H 270.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C64DB
RGBrgb(76, 100, 219)
HSLhsl(230, 67%, 58%)
HSVhsv(230, 65%, 86%)
CMYKcmyk(65.3%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.66, 28.87, -63.73)
CIE-LCHlch(46.66, 69.96, 294.37°)
OKLaboklab(55.12% 0.0021 -0.1832)
OKLCHoklch(55.12% 0.183 270.6)
XYZxyz(20.3195, 15.7635, 68.9759)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C64DB #DBC34C
analogous
#4CACDB #4C64DB #7B4CDB
triadic
#4C64DB #DB4C64 #64DB4C
tetradic
#4C64DB #DB4CAC #DBC34C #4CDB7B
square
#4C64DB #DB4CAC #DBC34C #4CDB7B
split-complementary
#4C64DB #DB7B4C #ACDB4C
monochromatic
#1D3090 #2741C3 #4C64DB #7F90E5 #B2BCEF

Accessibility & contrast

On white

5.06
#4C64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4C64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C64DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C64DB#FFFFFF#000000##FFFFFF
##4C64DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c64db;
/* rgb */ color: rgb(76, 100, 219);
/* oklch */ color: oklch(55.1% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fe7',
    500: '#4c64db',
    950: '#000000',
  },
}
SCSS
$custom: #4c64db;
$custom-light: #8d8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c64db",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 229.93,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.1832,
    "h": 270.6
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#4C64DB
secondary
#DED4A5
accent
#CD3EE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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