#5A64DF#5A64DF

#5A64DF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.185 H 275.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A64DF
RGBrgb(90, 100, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 60%, 87%)
CMYKcmyk(59.6%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.77, 32.54, -64.17)
CIE-LCHlch(47.77, 71.94, 296.89°)
OKLaboklab(56.26% 0.0169 -0.1841)
OKLCHoklch(56.26% 0.185 275.2)
XYZxyz(22.0886, 16.6140, 71.8406)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64DF #DFD55A
analogous
#5AA7DF #5A64DF #935ADF
triadic
#5A64DF #DF5A64 #64DF5A
tetradic
#5A64DF #DF5AA7 #DFD55A #5ADF93
square
#5A64DF #DF5AA7 #DFD55A #5ADF93
split-complementary
#5A64DF #DF935A #A7DF5A
monochromatic
#1F29A0 #2936D3 #5A64DF #8D94E9 #C1C4F3

Accessibility & contrast

On white

4.86
#5A64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5A64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64DF#FFFFFF#000000##FFFFFF
##5A64DF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a64df;
/* rgb */ color: rgb(90, 100, 223);
/* oklch */ color: oklch(56.3% 0.185 275.2);
Tailwind
colors: {
  custom: {
    50: '#9490ea',
    500: '#5a64df',
    950: '#000000',
  },
}
SCSS
$custom: #5a64df;
$custom-light: #9490ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64df",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 235.489,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.18491,
    "h": 275.2
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#5A64DF
secondary
#E3E0B2
accent
#C116CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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