#6451D9#6451D9

#6451D9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.3% C 0.199 H 283.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6451D9
RGBrgb(100, 81, 217)
HSLhsl(248, 64%, 58%)
HSVhsv(248, 63%, 85%)
CMYKcmyk(53.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(43.66, 43.77, -67.39)
CIE-LCHlch(43.66, 80.36, 303.00°)
OKLaboklab(53.27% 0.0471 -0.1935)
OKLCHoklch(53.27% 0.199 283.7)
XYZxyz(20.7185, 13.6027, 67.1660)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451D9 #C6D951
analogous
#5182D9 #6451D9 #A851D9
triadic
#6451D9 #D96451 #51D964
tetradic
#6451D9 #D95182 #C6D951 #51D9A8
square
#6451D9 #D95182 #C6D951 #51D9A8
split-complementary
#6451D9 #D9A851 #82D951
monochromatic
#2F1F90 #402AC2 #6451D9 #9183E4 #BDB5EF

Accessibility & contrast

On white

5.64
#6451D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6451D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451D9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451D9#FFFFFF#000000##FFFFFF
##6451D91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#30728D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6451d9;
/* rgb */ color: rgb(100, 81, 217);
/* oklch */ color: oklch(53.3% 0.199 283.7);
Tailwind
colors: {
  custom: {
    50: '#9a83e6',
    500: '#6451d9',
    950: '#000000',
  },
}
SCSS
$custom: #6451d9;
$custom-light: #9a83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6451d9",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 248.382,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.19914,
    "h": 283.7
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#6451D9
secondary
#D6DEA8
accent
#E741D0
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6451D9

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

Preview Lab → · Contrast checker → · Palette generator →

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