#6651DF#6651DF

#6651DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.206 H 283.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6651DF
RGBrgb(102, 81, 223)
HSLhsl(249, 69%, 60%)
HSVhsv(249, 64%, 87%)
CMYKcmyk(54.3%, 63.7%, 0%, 12.5%)
CIE-LABlab(44.28, 45.92, -69.79)
CIE-LCHlch(44.28, 83.54, 303.34°)
OKLaboklab(53.91% 0.0492 -0.2004)
OKLCHoklch(53.91% 0.206 283.8)
XYZxyz(21.7371, 14.0361, 71.3616)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6651DF #CADF51
analogous
#5183DF #6651DF #AD51DF
triadic
#6651DF #DF6651 #51DF66
tetradic
#6651DF #DF5183 #CADF51 #51DFAD
square
#6651DF #DF5183 #CADF51 #51DFAD
split-complementary
#6651DF #DFAD51 #83DF51
monochromatic
#2F1C99 #3E26CD #6651DF #9385E9 #C1B8F2

Accessibility & contrast

On white

5.52
#6651DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6651DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6651DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6651DF#FFFFFF#000000##FFFFFF
##6651DF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#2F7491
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6651df;
/* rgb */ color: rgb(102, 81, 223);
/* oklch */ color: oklch(53.9% 0.206 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c83ea',
    500: '#6651df',
    950: '#000000',
  },
}
SCSS
$custom: #6651df;
$custom-light: #9c83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6651df",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 248.873,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.20639,
    "h": 283.8
  },
  "luminance": 0.14037
}

Semantic roles & 50–950 ramp

primary
#6651DF
secondary
#D9E1AA
accent
#EC3CD2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6651DF

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

Preview Lab → · Contrast checker → · Palette generator →

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