#5B64F7#5B64F7

#5B64F7 is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.1% C 0.216 H 274.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B64F7
RGBrgb(91, 100, 247)
HSLhsl(237, 91%, 66%)
HSVhsv(237, 63%, 97%)
CMYKcmyk(63.2%, 59.5%, 0%, 3.1%)
CIE-LABlab(49.56, 40.55, -74.74)
CIE-LCHlch(49.56, 85.03, 298.48°)
OKLaboklab(58.14% 0.018 -0.2152)
OKLCHoklch(58.14% 0.216 274.8)
XYZxyz(25.6545, 18.0517, 90.1100)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64F7 #F7EE5B
analogous
#5BB2F7 #5B64F7 #A05BF7
triadic
#5B64F7 #F75B64 #64F75B
tetradic
#5B64F7 #F75BB2 #F7EE5B #5BF7A0
square
#5B64F7 #F75BB2 #F7EE5B #5BF7A0
split-complementary
#5B64F7 #F7A05B #B2F75B
monochromatic
#0A15CE #212DF4 #5B64F7 #959BFA #D0D2FD

Accessibility & contrast

On white

4.55
#5B64F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5B64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B64F7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64F7#FFFFFF#000000##000000
##5B64F71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#006FF4
Tritanopia (blue-blind)
#0088A4
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b64f7;
/* rgb */ color: rgb(91, 100, 247);
/* oklch */ color: oklch(58.1% 0.216 274.8);
Tailwind
colors: {
  custom: {
    50: '#9990fb',
    500: '#5b64f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b64f7;
$custom-light: #9990fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64f7",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 236.538,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.21596,
    "h": 274.8
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#5B64F7
secondary
#F0EDBD
accent
#D800E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5B64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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