#654FDB#654FDB

#654FDB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.204 H 284.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#654FDB
RGBrgb(101, 79, 219)
HSLhsl(249, 66%, 58%)
HSVhsv(249, 64%, 86%)
CMYKcmyk(53.9%, 63.9%, 0%, 14.1%)
CIE-LABlab(43.47, 45.69, -68.85)
CIE-LCHlch(43.47, 82.63, 303.57°)
OKLaboklab(53.2% 0.0501 -0.1977)
OKLCHoklch(53.2% 0.204 284.2)
XYZxyz(20.9451, 13.4719, 68.5008)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FDB #C5DB4F
analogous
#4F7FDB #654FDB #AB4FDB
triadic
#654FDB #DB654F #4FDB65
tetradic
#654FDB #DB4F7F #C5DB4F #4FDBAB
square
#654FDB #DB4F7F #C5DB4F #4FDBAB
split-complementary
#654FDB #DBAB4F #7FDB4F
monochromatic
#301E92 #4128C5 #654FDB #9182E5 #BEB5F0

Accessibility & contrast

On white

5.68
#654FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#654FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FDB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FDB#FFFFFF#000000##FFFFFF
##654FDB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#31728E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654fdb;
/* rgb */ color: rgb(101, 79, 219);
/* oklch */ color: oklch(53.2% 0.204 284.2);
Tailwind
colors: {
  custom: {
    50: '#9b82e7',
    500: '#654fdb',
    950: '#000000',
  },
}
SCSS
$custom: #654fdb;
$custom-light: #9b82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#654fdb",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 249.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.20397,
    "h": 284.2
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#654FDB
secondary
#D6DFA7
accent
#E93FCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FDB

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

Preview Lab → · Contrast checker → · Palette generator →

#654FDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva