#5B64F2#5B64F2

#5B64F2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.8% C 0.210 H 275.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B64F2
RGBrgb(91, 100, 242)
HSLhsl(236, 85%, 65%)
HSVhsv(236, 62%, 95%)
CMYKcmyk(62.4%, 58.7%, 0%, 5.1%)
CIE-LABlab(49.19, 38.92, -72.55)
CIE-LCHlch(49.19, 82.33, 298.21°)
OKLaboklab(57.75% 0.0181 -0.2088)
OKLCHoklch(57.75% 0.21 275)
XYZxyz(24.8933, 17.7472, 86.1009)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64F2 #F2E95B
analogous
#5BAFF2 #5B64F2 #9E5BF2
triadic
#5B64F2 #F25B64 #64F25B
tetradic
#5B64F2 #F25BAF #F2E95B #5BF29E
square
#5B64F2 #F25BAF #F2E95B #5BF29E
split-complementary
#5B64F2 #F29E5B #AFF25B
monochromatic
#0F1AC3 #222EEE #5B64F2 #949AF6 #CCCFFB

Accessibility & contrast

On white

4.62
#5B64F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5B64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64F2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64F2#FFFFFF#000000##FFFFFF
##5B64F21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b64f2;
/* rgb */ color: rgb(91, 100, 242);
/* oklch */ color: oklch(57.8% 0.210 275.0);
Tailwind
colors: {
  custom: {
    50: '#9890f7',
    500: '#5b64f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b64f2;
$custom-light: #9890f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64f2",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 236.424,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.20956,
    "h": 275
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#5B64F2
secondary
#EEEBBB
accent
#D504E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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