#5A64CD#5A64CD

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

Color values

HEX#5A64CD
RGBrgb(90, 100, 205)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(56.1%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.57, 26.65, -55.84)
CIE-LCHlch(46.57, 61.87, 295.51°)
OKLaboklab(54.97% 0.0159 -0.1597)
OKLCHoklch(54.97% 0.16 275.7)
XYZxyz(19.7895, 15.6944, 59.7323)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CD #CDC35A
analogous
#5A9DCD #5A64CD #8A5ACD
triadic
#5A64CD #CD5A64 #64CD5A
tetradic
#5A64CD #CD5A9D #CDC35A #5ACD8A
square
#5A64CD #CD5A9D #CDC35A #5ACD8A
split-complementary
#5A64CD #CD8A5A #9DCD5A
monochromatic
#283084 #3641B3 #5A64CD #8990DB #B8BCE9

Accessibility & contrast

On white

5.07
#5A64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5A64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CD#FFFFFF#000000##FFFFFF
##5A64CD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#166ACB
Tritanopia (blue-blind)
#197C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a64cd;
/* rgb */ color: rgb(90, 100, 205);
/* oklch */ color: oklch(55.0% 0.160 275.7);
Tailwind
colors: {
  custom: {
    50: '#9290dd',
    500: '#5a64cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a64cd;
$custom-light: #9290dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64cd",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 234.783,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.16045,
    "h": 275.7
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#5A64CD
secondary
#D8D4AA
accent
#D04BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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