#6451E8#6451E8

#6451E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.218 H 282.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6451E8
RGBrgb(100, 81, 232)
HSLhsl(248, 77%, 61%)
HSVhsv(248, 65%, 91%)
CMYKcmyk(56.9%, 65.1%, 0%, 9%)
CIE-LABlab(44.83, 48.30, -74.01)
CIE-LCHlch(44.83, 88.38, 303.13°)
OKLaboklab(54.48% 0.0457 -0.2129)
OKLCHoklch(54.48% 0.218 282.1)
XYZxyz(22.7589, 14.4189, 77.9121)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451E8 #D5E851
analogous
#518AE8 #6451E8 #B051E8
triadic
#6451E8 #E86451 #51E864
tetradic
#6451E8 #E8518A #D5E851 #51E8B0
square
#6451E8 #E8518A #D5E851 #51E8B0
split-complementary
#6451E8 #E8B051 #8AE851
monochromatic
#2916A8 #361DDE #6451E8 #9487EF #C4BDF6

Accessibility & contrast

On white

5.41
#6451E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6451E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451E8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451E8#FFFFFF#000000##FFFFFF
##6451E81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#187795
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6451e8;
/* rgb */ color: rgb(100, 81, 232);
/* oklch */ color: oklch(54.5% 0.218 282.1);
Tailwind
colors: {
  custom: {
    50: '#9c83f0',
    500: '#6451e8',
    950: '#000000',
  },
}
SCSS
$custom: #6451e8;
$custom-light: #9c83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6451e8",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 247.55,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.21775,
    "h": 282.1
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#6451E8
secondary
#E0E7AE
accent
#D90DBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6451E8

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

Preview Lab → · Contrast checker → · Palette generator →

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