#6654EB#6654EB

#6654EB is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.218 H 282.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6654EB
RGBrgb(102, 84, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 64%, 92%)
CMYKcmyk(56.6%, 64.3%, 0%, 7.8%)
CIE-LABlab(45.86, 47.83, -74.02)
CIE-LCHlch(45.86, 88.13, 302.87°)
OKLaboklab(55.34% 0.0453 -0.2129)
OKLCHoklch(55.34% 0.218 282)
XYZxyz(23.6406, 15.1621, 80.2620)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654EB #D9EB54
analogous
#548EEB #6654EB #B154EB
triadic
#6654EB #EB6654 #54EB66
tetradic
#6654EB #EB548E #D9EB54 #54EBB1
square
#6654EB #EB548E #D9EB54 #54EBB1
split-complementary
#6654EB #EBB154 #8EEB54
monochromatic
#2715B0 #351DE5 #6654EB #978BF1 #C8C2F8

Accessibility & contrast

On white

5.21
#6654EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6654EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654EB#FFFFFF#000000##FFFFFF
##6654EB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#1C7A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6654eb;
/* rgb */ color: rgb(102, 84, 235);
/* oklch */ color: oklch(55.3% 0.218 282.0);
Tailwind
colors: {
  custom: {
    50: '#9e85f3',
    500: '#6654eb',
    950: '#000000',
  },
}
SCSS
$custom: #6654eb;
$custom-light: #9e85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6654eb",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 247.152,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.21764,
    "h": 282
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#6654EB
secondary
#E2E9B2
accent
#DB0AC2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6654EB

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

Preview Lab → · Contrast checker → · Palette generator →

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