#5B64ED#5B64ED

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

Color values

HEX#5B64ED
RGBrgb(91, 100, 237)
HSLhsl(236, 80%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(61.6%, 57.8%, 0%, 7.1%)
CIE-LABlab(48.82, 37.29, -70.35)
CIE-LCHlch(48.82, 79.62, 297.93°)
OKLaboklab(57.37% 0.0182 -0.2023)
OKLCHoklch(57.37% 0.203 275.1)
XYZxyz(24.1526, 17.4510, 82.1999)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64ED #EDE45B
analogous
#5BADED #5B64ED #9B5BED
triadic
#5B64ED #ED5B64 #64ED5B
tetradic
#5B64ED #ED5BAD #EDE45B #5BED9B
square
#5B64ED #ED5BAD #EDE45B #5BED9B
split-complementary
#5B64ED #ED9B5B #ADED5B
monochromatic
#141FB9 #2430E7 #5B64ED #9298F3 #C9CCF9

Accessibility & contrast

On white

4.68
#5B64ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5B64ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64ED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64ED#FFFFFF#000000##FFFFFF
##5B64ED1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b64ed;
/* rgb */ color: rgb(91, 100, 237);
/* oklch */ color: oklch(57.4% 0.203 275.1);
Tailwind
colors: {
  custom: {
    50: '#9790f4',
    500: '#5b64ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b64ed;
$custom-light: #9790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64ed",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 236.301,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.2031,
    "h": 275.1
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#5B64ED
secondary
#EBE8B9
accent
#D009DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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