#6654EE#6654EE

#6654EE is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.221 H 281.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6654EE
RGBrgb(102, 84, 238)
HSLhsl(247, 82%, 63%)
HSVhsv(247, 65%, 93%)
CMYKcmyk(57.1%, 64.7%, 0%, 6.7%)
CIE-LABlab(46.09, 48.73, -75.32)
CIE-LCHlch(46.09, 89.71, 302.90°)
OKLaboklab(55.59% 0.045 -0.2167)
OKLCHoklch(55.59% 0.221 281.7)
XYZxyz(24.0776, 15.3369, 82.5639)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654EE #DCEE54
analogous
#548FEE #6654EE #B354EE
triadic
#6654EE #EE6654 #54EE66
tetradic
#6654EE #EE548F #DCEE54 #54EEB3
square
#6654EE #EE548F #DCEE54 #54EEB3
split-complementary
#6654EE #EEB354 #8FEE54
monochromatic
#2512B6 #341CE8 #6654EE #988CF4 #CAC3F9

Accessibility & contrast

On white

5.16
#6654EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6654EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654EE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654EE#FFFFFF#000000##FFFFFF
##6654EE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#147B9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6654ee;
/* rgb */ color: rgb(102, 84, 238);
/* oklch */ color: oklch(55.6% 0.221 281.7);
Tailwind
colors: {
  custom: {
    50: '#9e85f5',
    500: '#6654ee',
    950: '#000000',
  },
}
SCSS
$custom: #6654ee;
$custom-light: #9e85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6654ee",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 247.013,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.22132,
    "h": 281.7
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#6654EE
secondary
#E4EAB3
accent
#DE07C5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6654EE

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

Preview Lab → · Contrast checker → · Palette generator →

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