#6451E4#6451E4

#6451E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.213 H 282.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6451E4
RGBrgb(100, 81, 228)
HSLhsl(248, 73%, 61%)
HSVhsv(248, 64%, 89%)
CMYKcmyk(56.1%, 64.5%, 0%, 10.6%)
CIE-LABlab(44.51, 47.09, -72.27)
CIE-LCHlch(44.51, 86.25, 303.09°)
OKLaboklab(54.16% 0.0461 -0.2078)
OKLCHoklch(54.16% 0.213 282.5)
XYZxyz(22.1972, 14.1942, 74.9538)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451E4 #D1E451
analogous
#5187E4 #6451E4 #AD51E4
triadic
#6451E4 #E46451 #51E464
tetradic
#6451E4 #E45187 #D1E451 #51E4AD
square
#6451E4 #E45187 #D1E451 #51E4AD
split-complementary
#6451E4 #E4AD51 #87E451
monochromatic
#2B19A2 #3921D7 #6451E4 #9386EC #C2BBF4

Accessibility & contrast

On white

5.47
#6451E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6451E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451E4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451E4#FFFFFF#000000##FFFFFF
##6451E41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#217693
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6451e4;
/* rgb */ color: rgb(100, 81, 228);
/* oklch */ color: oklch(54.2% 0.213 282.5);
Tailwind
colors: {
  custom: {
    50: '#9c83ee',
    500: '#6451e4',
    950: '#000000',
  },
}
SCSS
$custom: #6451e4;
$custom-light: #9c83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6451e4",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 247.755,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.21284,
    "h": 282.5
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#6451E4
secondary
#DDE4AC
accent
#D510BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6451E4

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

Preview Lab → · Contrast checker → · Palette generator →

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