#5B64DF#5B64DF

#5B64DF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.185 H 275.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B64DF
RGBrgb(91, 100, 223)
HSLhsl(236, 67%, 62%)
HSVhsv(236, 59%, 87%)
CMYKcmyk(59.2%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.83, 32.71, -64.06)
CIE-LCHlch(47.83, 71.93, 297.05°)
OKLaboklab(56.32% 0.018 -0.1838)
OKLCHoklch(56.32% 0.185 275.6)
XYZxyz(22.1865, 16.6645, 71.8451)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64DF #DFD65B
analogous
#5BA6DF #5B64DF #945BDF
triadic
#5B64DF #DF5B64 #64DF5B
tetradic
#5B64DF #DF5BA6 #DFD65B #5BDF94
square
#5B64DF #DF5BA6 #DFD65B #5BDF94
split-complementary
#5B64DF #DF945B #A6DF5B
monochromatic
#1F28A0 #2935D4 #5B64DF #8E94E9 #C1C5F3

Accessibility & contrast

On white

4.85
#5B64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5B64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64DF#FFFFFF#000000##FFFFFF
##5B64DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b64df;
/* rgb */ color: rgb(91, 100, 223);
/* oklch */ color: oklch(56.3% 0.185 275.6);
Tailwind
colors: {
  custom: {
    50: '#9590ea',
    500: '#5b64df',
    950: '#000000',
  },
}
SCSS
$custom: #5b64df;
$custom-light: #9590ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64df",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 235.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.18468,
    "h": 275.6
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#5B64DF
secondary
#E3E0B2
accent
#C316CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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