#5C64DB#5C64DB

#5C64DB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.179 H 276.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5C64DB
RGBrgb(92, 100, 219)
HSLhsl(236, 64%, 61%)
HSVhsv(236, 58%, 86%)
CMYKcmyk(58%, 54.3%, 0%, 14.1%)
CIE-LABlab(47.63, 31.59, -62.12)
CIE-LCHlch(47.63, 69.69, 296.95°)
OKLaboklab(56.09% 0.019 -0.1781)
OKLCHoklch(56.09% 0.179 276.1)
XYZxyz(21.7529, 16.5025, 69.0431)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64DB #DBD35C
analogous
#5CA4DB #5C64DB #935CDB
triadic
#5C64DB #DB5C64 #64DB5C
tetradic
#5C64DB #DB5CA4 #DBD35C #5CDB93
square
#5C64DB #DB5CA4 #DBD35C #5CDB93
split-complementary
#5C64DB #DB935C #A4DB5C
monochromatic
#222A9A #2D37CD #5C64DB #8E94E6 #C0C3F1

Accessibility & contrast

On white

4.88
#5C64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5C64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64DB#FFFFFF#000000##FFFFFF
##5C64DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1076DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c64db;
/* rgb */ color: rgb(92, 100, 219);
/* oklch */ color: oklch(56.1% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#9590e7',
    500: '#5c64db',
    950: '#000000',
  },
}
SCSS
$custom: #5c64db;
$custom-light: #9590e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64db",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 236.22,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.17909,
    "h": 276.1
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#5C64DB
secondary
#E1DEB1
accent
#C01ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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