#5B64EE#5B64EE

#5B64EE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.4% C 0.204 H 275.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B64EE
RGBrgb(91, 100, 238)
HSLhsl(236, 81%, 65%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(61.8%, 58%, 0%, 6.7%)
CIE-LABlab(48.90, 37.61, -70.79)
CIE-LCHlch(48.90, 80.16, 297.98°)
OKLaboklab(57.44% 0.0182 -0.2036)
OKLCHoklch(57.44% 0.204 275.1)
XYZxyz(24.2991, 17.5096, 82.9715)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64EE #EEE55B
analogous
#5BADEE #5B64EE #9C5BEE
triadic
#5B64EE #EE5B64 #64EE5B
tetradic
#5B64EE #EE5BAD #EEE55B #5BEE9C
square
#5B64EE #EE5BAD #EEE55B #5BEE9C
split-complementary
#5B64EE #EE9C5B #ADEE5B
monochromatic
#131EBB #2430E8 #5B64EE #9298F4 #CACDF9

Accessibility & contrast

On white

4.66
#5B64EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5B64EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64EE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64EE#FFFFFF#000000##FFFFFF
##5B64EE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b64ee;
/* rgb */ color: rgb(91, 100, 238);
/* oklch */ color: oklch(57.4% 0.204 275.1);
Tailwind
colors: {
  custom: {
    50: '#9790f4',
    500: '#5b64ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b64ee;
$custom-light: #9790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64ee",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 236.327,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.20441,
    "h": 275.1
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#5B64EE
secondary
#ECE9B9
accent
#D008DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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