#5A64CE#5A64CE

#5A64CE is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.162 H 275.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A64CE
RGBrgb(90, 100, 206)
HSLhsl(235, 54%, 58%)
HSVhsv(235, 56%, 81%)
CMYKcmyk(56.3%, 51.5%, 0%, 19.2%)
CIE-LABlab(46.64, 26.97, -56.31)
CIE-LCHlch(46.64, 62.44, 295.59°)
OKLaboklab(55.04% 0.016 -0.161)
OKLCHoklch(55.04% 0.162 275.7)
XYZxyz(19.9106, 15.7428, 60.3700)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CE #CEC45A
analogous
#5A9ECE #5A64CE #8A5ACE
triadic
#5A64CE #CE5A64 #64CE5A
tetradic
#5A64CE #CE5A9E #CEC45A #5ACE8A
square
#5A64CE #CE5A9E #CEC45A #5ACE8A
split-complementary
#5A64CE #CE8A5A #9ECE5A
monochromatic
#283086 #3641B5 #5A64CE #8990DC #B8BDEA

Accessibility & contrast

On white

5.06
#5A64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5A64CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CE#FFFFFF#000000##FFFFFF
##5A64CE1.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)
#2A74D2
Deuteranopia (green-blind)
#136ACC
Tritanopia (blue-blind)
#167C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a64ce;
/* rgb */ color: rgb(90, 100, 206);
/* oklch */ color: oklch(55.0% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5a64ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ce;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ce",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 234.828,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.16183,
    "h": 275.7
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#5A64CE
secondary
#D9D5AB
accent
#D14ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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