#5A64CC#5A64CC

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

Color values

HEX#5A64CC
RGBrgb(90, 100, 204)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(55.9%, 51%, 0%, 20%)
CIE-LABlab(46.51, 26.32, -55.37)
CIE-LCHlch(46.51, 61.31, 295.42°)
OKLaboklab(54.91% 0.0158 -0.1583)
OKLCHoklch(54.91% 0.159 275.7)
XYZxyz(19.6692, 15.6463, 59.0986)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CC #CCC25A
analogous
#5A9DCC #5A64CC #895ACC
triadic
#5A64CC #CC5A64 #64CC5A
tetradic
#5A64CC #CC5A9D #CCC25A #5ACC89
square
#5A64CC #CC5A9D #CCC25A #5ACC89
split-complementary
#5A64CC #CC895A #9DCC5A
monochromatic
#293083 #3742B2 #5A64CC #8990DA #B7BCE9

Accessibility & contrast

On white

5.09
#5A64CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A64CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CC#FFFFFF#000000##FFFFFF
##5A64CC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#1A7B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a64cc;
/* rgb */ color: rgb(90, 100, 204);
/* oklch */ color: oklch(54.9% 0.159 275.7);
Tailwind
colors: {
  custom: {
    50: '#9190dc',
    500: '#5a64cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a64cc;
$custom-light: #9190dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64cc",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 234.737,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.15906,
    "h": 275.7
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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