#5A64CF#5A64CF

#5A64CF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.163 H 275.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5A64CF
RGBrgb(90, 100, 207)
HSLhsl(235, 55%, 58%)
HSVhsv(235, 57%, 81%)
CMYKcmyk(56.5%, 51.7%, 0%, 18.8%)
CIE-LABlab(46.70, 27.30, -56.78)
CIE-LCHlch(46.70, 63.00, 295.68°)
OKLaboklab(55.11% 0.0161 -0.1624)
OKLCHoklch(55.11% 0.163 275.7)
XYZxyz(20.0325, 15.7916, 61.0118)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CF #CFC55A
analogous
#5A9ECF #5A64CF #8A5ACF
triadic
#5A64CF #CF5A64 #64CF5A
tetradic
#5A64CF #CF5A9E #CFC55A #5ACF8A
square
#5A64CF #CF5A9E #CFC55A #5ACF8A
split-complementary
#5A64CF #CF8A5A #9ECF5A
monochromatic
#273087 #3540B7 #5A64CF #8991DD #B9BDEB

Accessibility & contrast

On white

5.05
#5A64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5A64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CF#FFFFFF#000000##FFFFFF
##5A64CF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#106ACD
Tritanopia (blue-blind)
#147C90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a64cf;
/* rgb */ color: rgb(90, 100, 207);
/* oklch */ color: oklch(55.1% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5a64cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a64cf;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64cf",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 234.872,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.16321,
    "h": 275.7
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#5A64CF
secondary
#DAD6AB
accent
#D24ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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