#5B64BC#5B64BC

#5B64BC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.136 H 276.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B64BC
RGBrgb(91, 100, 188)
HSLhsl(234, 42%, 55%)
HSVhsv(234, 52%, 74%)
CMYKcmyk(51.6%, 46.8%, 0%, 26.3%)
CIE-LABlab(45.59, 21.37, -47.60)
CIE-LCHlch(45.59, 52.18, 294.17°)
OKLaboklab(53.91% 0.0152 -0.1354)
OKLCHoklch(53.91% 0.136 276.4)
XYZxyz(17.9458, 14.9682, 49.5107)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64BC #BCB35B
analogous
#5B95BC #5B64BC #835BBC
triadic
#5B64BC #BC5B64 #64BC5B
tetradic
#5B64BC #BC5B95 #BCB35B #5BBC83
square
#5B64BC #BC5B95 #BCB35B #5BBC83
split-complementary
#5B64BC #BC835B #95BC5B
monochromatic
#2D346F #3F489B #5B64BC #868DCE #B2B6E0

Accessibility & contrast

On white

5.26
#5B64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5B64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64BC#FFFFFF#000000##FFFFFF
##5B64BC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#327787
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b64bc;
/* rgb */ color: rgb(91, 100, 188);
/* oklch */ color: oklch(53.9% 0.136 276.4);
Tailwind
colors: {
  custom: {
    50: '#9090d1',
    500: '#5b64bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b64bc;
$custom-light: #9090d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64bc",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 234.433,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.13627,
    "h": 276.4
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#5B64BC
secondary
#CECAA5
accent
#C656D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5B64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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