#6654DE#6654DE

#6654DE is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.201 H 283.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6654DE
RGBrgb(102, 84, 222)
HSLhsl(248, 68%, 60%)
HSVhsv(248, 62%, 87%)
CMYKcmyk(54.1%, 62.2%, 0%, 12.9%)
CIE-LABlab(44.85, 43.90, -68.29)
CIE-LCHlch(44.85, 81.18, 302.74°)
OKLaboklab(54.3% 0.0465 -0.196)
OKLCHoklch(54.3% 0.201 283.3)
XYZxyz(21.8306, 14.4381, 70.7296)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654DE #CCDE54
analogous
#5487DE #6654DE #AB54DE
triadic
#6654DE #DE6654 #54DE66
tetradic
#6654DE #DE5487 #CCDE54 #54DEAB
square
#6654DE #DE5487 #CCDE54 #54DEAB
split-complementary
#6654DE #DEAB54 #87DE54
monochromatic
#2E1E9A #3D28CD #6654DE #9487E8 #C2BBF2

Accessibility & contrast

On white

5.40
#6654DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6654DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654DE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654DE#FFFFFF#000000##FFFFFF
##6654DE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#307691
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6654de;
/* rgb */ color: rgb(102, 84, 222);
/* oklch */ color: oklch(54.3% 0.201 283.3);
Tailwind
colors: {
  custom: {
    50: '#9c85e9',
    500: '#6654de',
    950: '#000000',
  },
}
SCSS
$custom: #6654de;
$custom-light: #9c85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6654de",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 247.826,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.20147,
    "h": 283.3
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#6654DE
secondary
#DBE1AC
accent
#EB3DD4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6654DE

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

Preview Lab → · Contrast checker → · Palette generator →

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