#5C64BF#5C64BF

#5C64BF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.140 H 276.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5C64BF
RGBrgb(92, 100, 191)
HSLhsl(235, 44%, 55%)
HSVhsv(235, 52%, 75%)
CMYKcmyk(51.8%, 47.6%, 0%, 25.1%)
CIE-LABlab(45.84, 22.55, -48.94)
CIE-LCHlch(45.84, 53.89, 294.74°)
OKLaboklab(54.18% 0.0168 -0.1393)
OKLCHoklch(54.18% 0.14 276.9)
XYZxyz(18.3718, 15.1501, 51.2363)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64BF #BFB75C
analogous
#5C95BF #5C64BF #865CBF
triadic
#5C64BF #BF5C64 #64BF5C
tetradic
#5C64BF #BF5C95 #BFB75C #5CBF86
square
#5C64BF #BF5C95 #BFB75C #5CBF86
split-complementary
#5C64BF #BF865C #95BF5C
monochromatic
#2D3373 #3F469F #5C64BF #888ED0 #B4B8E2

Accessibility & contrast

On white

5.21
#5C64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5C64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64BF#FFFFFF#000000##FFFFFF
##5C64BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#327888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c64bf;
/* rgb */ color: rgb(92, 100, 191);
/* oklch */ color: oklch(54.2% 0.140 276.9);
Tailwind
colors: {
  custom: {
    50: '#9190d3',
    500: '#5c64bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c64bf;
$custom-light: #9190d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64bf",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 235.152,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.14032,
    "h": 276.9
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#5C64BF
secondary
#D0CDA7
accent
#C954D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5C64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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