#5A64BF#5A64BF

#5A64BF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.141 H 275.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A64BF
RGBrgb(90, 100, 191)
HSLhsl(234, 44%, 55%)
HSVhsv(234, 53%, 75%)
CMYKcmyk(52.9%, 47.6%, 0%, 25.1%)
CIE-LABlab(45.70, 22.11, -49.17)
CIE-LCHlch(45.70, 53.91, 294.21°)
OKLaboklab(54.04% 0.0145 -0.14)
OKLCHoklch(54.04% 0.141 275.9)
XYZxyz(18.1746, 15.0484, 51.2271)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64BF #BFB55A
analogous
#5A97BF #5A64BF #825ABF
triadic
#5A64BF #BF5A64 #64BF5A
tetradic
#5A64BF #BF5A97 #BFB55A #5ABF82
square
#5A64BF #BF5A97 #BFB55A #5ABF82
split-complementary
#5A64BF #BF825A #97BF5A
monochromatic
#2C3372 #3D479E #5A64BF #868DD0 #B2B7E1

Accessibility & contrast

On white

5.24
#5A64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5A64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64BF#FFFFFF#000000##FFFFFF
##5A64BF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C2
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#2C7888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a64bf;
/* rgb */ color: rgb(90, 100, 191);
/* oklch */ color: oklch(54.0% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#9090d3',
    500: '#5a64bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a64bf;
$custom-light: #9090d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64bf",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 234.059,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.1408,
    "h": 275.9
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#5A64BF
secondary
#D0CBA5
accent
#C754D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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