#5A64BB#5A64BB

#5A64BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.135 H 275.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5A64BB
RGBrgb(90, 100, 187)
HSLhsl(234, 42%, 54%)
HSVhsv(234, 52%, 73%)
CMYKcmyk(51.9%, 46.5%, 0%, 26.7%)
CIE-LABlab(45.46, 20.82, -47.23)
CIE-LCHlch(45.46, 51.62, 293.79°)
OKLaboklab(53.78% 0.014 -0.1343)
OKLCHoklch(53.78% 0.135 275.9)
XYZxyz(17.7404, 14.8748, 48.9404)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64BB #BBB15A
analogous
#5A95BB #5A64BB #815ABB
triadic
#5A64BB #BB5A64 #64BB5A
tetradic
#5A64BB #BB5A95 #BBB15A #5ABB81
square
#5A64BB #BB5A95 #BBB15A #5ABB81
split-complementary
#5A64BB #BB815A #95BB5A
monochromatic
#2D346D #3F4899 #5A64BB #858DCD #B1B5DF

Accessibility & contrast

On white

5.28
#5A64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5A64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64BB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64BB#FFFFFF#000000##FFFFFF
##5A64BB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#307786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a64bb;
/* rgb */ color: rgb(90, 100, 187);
/* oklch */ color: oklch(53.8% 0.135 275.9);
Tailwind
colors: {
  custom: {
    50: '#8f90d0',
    500: '#5a64bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a64bb;
$custom-light: #8f90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64bb",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 233.814,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.13508,
    "h": 275.9
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#5A64BB
secondary
#CDC9A4
accent
#C556D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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