#6566E4#6566E4

#6566E4 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.187 H 278.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6566E4
RGBrgb(101, 102, 228)
HSLhsl(240, 70%, 65%)
HSVhsv(240, 56%, 89%)
CMYKcmyk(55.7%, 55.3%, 0%, 10.6%)
CIE-LABlab(49.34, 34.92, -64.42)
CIE-LCHlch(49.34, 73.27, 298.46°)
OKLaboklab(57.72% 0.0275 -0.1846)
OKLCHoklch(57.72% 0.187 278.5)
XYZxyz(24.1174, 17.8693, 75.5620)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6566E4 #E4E365
analogous
#65A5E4 #6566E4 #A465E4
triadic
#6566E4 #E46566 #66E465
tetradic
#6566E4 #E465A5 #E4E365 #65E4A4
square
#6566E4 #E465A5 #E4E365 #65E4A4
split-complementary
#6566E4 #E4A465 #A5E465
monochromatic
#1F20B0 #3132DB #6566E4 #999AED #CDCDF6

Accessibility & contrast

On white

4.59
#6566E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6566E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6566E4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6566E4#FFFFFF#000000##FFFFFF
##6566E41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#027BE8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#20839B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6566e4;
/* rgb */ color: rgb(101, 102, 228);
/* oklch */ color: oklch(57.7% 0.187 278.5);
Tailwind
colors: {
  custom: {
    50: '#9b91ed',
    500: '#6566e4',
    950: '#000000',
  },
}
SCSS
$custom: #6566e4;
$custom-light: #9b91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6566e4",
  "rgb": {
    "r": 101,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 239.528,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.18662,
    "h": 278.5
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#6566E4
secondary
#E8E8BC
accent
#D113D2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6566E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6566E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva