#6566EB#6566EB

#6566EB is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.2% C 0.196 H 278.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6566EB
RGBrgb(101, 102, 235)
HSLhsl(240, 77%, 66%)
HSVhsv(240, 57%, 92%)
CMYKcmyk(57%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.82, 37.13, -67.58)
CIE-LCHlch(49.82, 77.11, 298.78°)
OKLaboklab(58.23% 0.0276 -0.1939)
OKLCHoklch(58.23% 0.196 278.1)
XYZxyz(25.1088, 18.2658, 80.7837)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6566EB #EBEA65
analogous
#65A9EB #6566EB #A765EB
triadic
#6566EB #EB6566 #66EB65
tetradic
#6566EB #EB65A9 #EBEA65 #65EBA7
square
#6566EB #EB65A9 #EBEA65 #65EBA7
split-complementary
#6566EB #EBA765 #A9EB65
monochromatic
#191ABD #2F30E4 #6566EB #9B9CF2 #D1D2F9

Accessibility & contrast

On white

4.51
#6566EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6566EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6566EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6566EB#FFFFFF#000000##000000
##6566EB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#0F859F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6566eb;
/* rgb */ color: rgb(101, 102, 235);
/* oklch */ color: oklch(58.2% 0.196 278.1);
Tailwind
colors: {
  custom: {
    50: '#9c91f2',
    500: '#6566eb',
    950: '#000000',
  },
}
SCSS
$custom: #6566eb;
$custom-light: #9c91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6566eb",
  "rgb": {
    "r": 101,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 239.552,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.19584,
    "h": 278.1
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#6566EB
secondary
#ECECC0
accent
#D80CD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6566EB

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

Preview Lab → · Contrast checker → · Palette generator →

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