#6654DC#6654DC

#6654DC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 54.1% C 0.199 H 283.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6654DC
RGBrgb(102, 84, 220)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 62%, 86%)
CMYKcmyk(53.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.70, 43.30, -67.40)
CIE-LCHlch(44.70, 80.10, 302.72°)
OKLaboklab(54.15% 0.0466 -0.1934)
OKLCHoklch(54.15% 0.199 283.5)
XYZxyz(21.5641, 14.3315, 69.3262)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654DC #CADC54
analogous
#5486DC #6654DC #AA54DC
triadic
#6654DC #DC6654 #54DC66
tetradic
#6654DC #DC5486 #CADC54 #54DCAA
square
#6654DC #DC5486 #CADC54 #54DCAA
split-complementary
#6654DC #DCAA54 #86DC54
monochromatic
#2F1F97 #3E29CA #6654DC #9387E6 #C1BAF1

Accessibility & contrast

On white

5.43
#6654DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6654DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654DC#FFFFFF#000000##FFFFFF
##6654DC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#327590
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6654dc;
/* rgb */ color: rgb(102, 84, 220);
/* oklch */ color: oklch(54.1% 0.199 283.5);
Tailwind
colors: {
  custom: {
    50: '#9b85e8',
    500: '#6654dc',
    950: '#000000',
  },
}
SCSS
$custom: #6654dc;
$custom-light: #9b85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6654dc",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 247.941,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.19894,
    "h": 283.5
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#6654DC
secondary
#D9E0AC
accent
#E93FD2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6654DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6654DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva