#6564EB#6564EB

#6564EB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.9% C 0.198 H 278.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6564EB
RGBrgb(101, 100, 235)
HSLhsl(240, 77%, 66%)
HSVhsv(240, 57%, 92%)
CMYKcmyk(57%, 57.4%, 0%, 7.8%)
CIE-LABlab(49.35, 38.33, -68.34)
CIE-LCHlch(49.35, 78.35, 299.28°)
OKLaboklab(57.88% 0.0295 -0.1961)
OKLCHoklch(57.88% 0.198 278.6)
XYZxyz(24.9146, 17.8775, 80.7190)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6564EB #EAEB64
analogous
#64A7EB #6564EB #A864EB
triadic
#6564EB #EB6564 #64EB65
tetradic
#6564EB #EB64A7 #EAEB64 #64EBA8
square
#6564EB #EB64A7 #EAEB64 #64EBA8
split-complementary
#6564EB #EBA864 #A7EB64
monochromatic
#1A18BC #2F2EE4 #6564EB #9B9AF2 #D1D0F9

Accessibility & contrast

On white

4.59
#6564EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6564EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6564EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6564EB#FFFFFF#000000##FFFFFF
##6564EB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#10849E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6564eb;
/* rgb */ color: rgb(101, 100, 235);
/* oklch */ color: oklch(57.9% 0.198 278.6);
Tailwind
colors: {
  custom: {
    50: '#9c90f2',
    500: '#6564eb',
    950: '#000000',
  },
}
SCSS
$custom: #6564eb;
$custom-light: #9c90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6564eb",
  "rgb": {
    "r": 101,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 240.444,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.19834,
    "h": 278.6
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#6564EB
secondary
#ECECBF
accent
#D90CD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6564EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6564EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva