#6651E2#6651E2

#6651E2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.210 H 283.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6651E2
RGBrgb(102, 81, 226)
HSLhsl(249, 71%, 60%)
HSVhsv(249, 64%, 89%)
CMYKcmyk(54.9%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.52, 46.82, -71.11)
CIE-LCHlch(44.52, 85.14, 303.36°)
OKLaboklab(54.15% 0.0489 -0.2043)
OKLCHoklch(54.15% 0.21 283.5)
XYZxyz(22.1452, 14.1993, 73.5106)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6651E2 #CDE251
analogous
#5184E2 #6651E2 #AF51E2
triadic
#6651E2 #E26651 #51E266
tetradic
#6651E2 #E25184 #CDE251 #51E2AF
square
#6651E2 #E25184 #CDE251 #51E2AF
split-complementary
#6651E2 #E2AF51 #84E251
monochromatic
#2D1A9E #3D23D3 #6651E2 #9485EB #C2BAF3

Accessibility & contrast

On white

5.47
#6651E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6651E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6651E2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6651E2#FFFFFF#000000##FFFFFF
##6651E21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#2B7592
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6651e2;
/* rgb */ color: rgb(102, 81, 226);
/* oklch */ color: oklch(54.2% 0.210 283.5);
Tailwind
colors: {
  custom: {
    50: '#9c83ec',
    500: '#6651e2',
    950: '#000000',
  },
}
SCSS
$custom: #6651e2;
$custom-light: #9c83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6651e2",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 248.69,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.2101,
    "h": 283.5
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#6651E2
secondary
#DBE3AC
accent
#D312B7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6651E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6651E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva