#6451D8#6451D8

#6451D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.2% C 0.198 H 283.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6451D8
RGBrgb(100, 81, 216)
HSLhsl(248, 63%, 58%)
HSVhsv(248, 63%, 85%)
CMYKcmyk(53.7%, 62.5%, 0%, 15.3%)
CIE-LABlab(43.58, 43.47, -66.95)
CIE-LCHlch(43.58, 79.82, 303.00°)
OKLaboklab(53.19% 0.0472 -0.1922)
OKLCHoklch(53.19% 0.198 283.8)
XYZxyz(20.5889, 13.5509, 66.4831)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451D8 #C5D851
analogous
#5182D8 #6451D8 #A751D8
triadic
#6451D8 #D86451 #51D864
tetradic
#6451D8 #D85182 #C5D851 #51D8A7
square
#6451D8 #D85182 #C5D851 #51D8A7
split-complementary
#6451D8 #D8A751 #82D851
monochromatic
#30208F #402BC1 #6451D8 #9183E3 #BDB5EE

Accessibility & contrast

On white

5.66
#6451D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6451D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451D8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451D8#FFFFFF#000000##FFFFFF
##6451D81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#31728D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6451d8;
/* rgb */ color: rgb(100, 81, 216);
/* oklch */ color: oklch(53.2% 0.198 283.8);
Tailwind
colors: {
  custom: {
    50: '#9a83e5',
    500: '#6451d8',
    950: '#000000',
  },
}
SCSS
$custom: #6451d8;
$custom-light: #9a83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6451d8",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 248.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.19787,
    "h": 283.8
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#6451D8
secondary
#D6DDA8
accent
#E641CF
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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