#5C64CA#5C64CA

#5C64CA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.156 H 276.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5C64CA
RGBrgb(92, 100, 202)
HSLhsl(236, 51%, 58%)
HSVhsv(236, 54%, 79%)
CMYKcmyk(54.5%, 50.5%, 0%, 20.8%)
CIE-LABlab(46.52, 26.08, -54.20)
CIE-LCHlch(46.52, 60.15, 295.69°)
OKLaboklab(54.91% 0.0179 -0.1548)
OKLCHoklch(54.91% 0.156 276.6)
XYZxyz(19.6281, 15.6526, 57.8526)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64CA #CAC25C
analogous
#5C9BCA #5C64CA #8B5CCA
triadic
#5C64CA #CA5C64 #64CA5C
tetradic
#5C64CA #CA5C9B #CAC25C #5CCA8B
square
#5C64CA #CA5C9B #CAC25C #5CCA8B
split-complementary
#5C64CA #CA8B5C #9BCA5C
monochromatic
#2A3081 #3942B0 #5C64CA #8A90D9 #B8BCE8

Accessibility & contrast

On white

5.08
#5C64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5C64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64CA#FFFFFF#000000##FFFFFF
##5C64CA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#267B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c64ca;
/* rgb */ color: rgb(92, 100, 202);
/* oklch */ color: oklch(54.9% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#9290db',
    500: '#5c64ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c64ca;
$custom-light: #9290db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64ca",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 235.636,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.15581,
    "h": 276.6
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#5C64CA
secondary
#D7D4AB
accent
#D04DDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5C64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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