#6451E7#6451E7

#6451E7 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.217 H 282.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6451E7
RGBrgb(100, 81, 231)
HSLhsl(248, 76%, 61%)
HSVhsv(248, 65%, 91%)
CMYKcmyk(56.7%, 64.9%, 0%, 9.4%)
CIE-LABlab(44.75, 48.00, -73.58)
CIE-LCHlch(44.75, 87.85, 303.12°)
OKLaboklab(54.4% 0.0458 -0.2116)
OKLCHoklch(54.4% 0.217 282.2)
XYZxyz(22.6173, 14.3622, 77.1662)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451E7 #D4E751
analogous
#5189E7 #6451E7 #AF51E7
triadic
#6451E7 #E76451 #51E764
tetradic
#6451E7 #E75189 #D4E751 #51E7AF
square
#6451E7 #E75189 #D4E751 #51E7AF
split-complementary
#6451E7 #E7AF51 #89E751
monochromatic
#2917A7 #361EDC #6451E7 #9487EE #C4BDF6

Accessibility & contrast

On white

5.42
#6451E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6451E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451E7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451E7#FFFFFF#000000##FFFFFF
##6451E71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#1B7795
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6451e7;
/* rgb */ color: rgb(100, 81, 231);
/* oklch */ color: oklch(54.4% 0.217 282.2);
Tailwind
colors: {
  custom: {
    50: '#9c83f0',
    500: '#6451e7',
    950: '#000000',
  },
}
SCSS
$custom: #6451e7;
$custom-light: #9c83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6451e7",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 247.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.21653,
    "h": 282.2
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#6451E7
secondary
#DFE6AE
accent
#D80EBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6451E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6451E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva