#5A64CB#5A64CB

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

Color values

HEX#5A64CB
RGBrgb(90, 100, 203)
HSLhsl(235, 52%, 57%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(55.7%, 50.7%, 0%, 20.4%)
CIE-LABlab(46.44, 25.99, -54.90)
CIE-LCHlch(46.44, 60.74, 295.34°)
OKLaboklab(54.84% 0.0158 -0.1569)
OKLCHoklch(54.84% 0.158 275.7)
XYZxyz(19.5497, 15.5984, 58.4690)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CB #CBC15A
analogous
#5A9DCB #5A64CB #885ACB
triadic
#5A64CB #CB5A64 #64CB5A
tetradic
#5A64CB #CB5A9D #CBC15A #5ACB88
square
#5A64CB #CB5A9D #CBC15A #5ACB88
split-complementary
#5A64CB #CB885A #9DCB5A
monochromatic
#293182 #3842B0 #5A64CB #8990DA #B7BBE8

Accessibility & contrast

On white

5.10
#5A64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5A64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CB#FFFFFF#000000##FFFFFF
##5A64CB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#1C7B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a64cb;
/* rgb */ color: rgb(90, 100, 203);
/* oklch */ color: oklch(54.8% 0.158 275.7);
Tailwind
colors: {
  custom: {
    50: '#9190db',
    500: '#5a64cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a64cb;
$custom-light: #9190db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64cb",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 234.69,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.15768,
    "h": 275.7
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#5A64CB
secondary
#D7D3AA
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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