#6451E2#6451E2

#6451E2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.210 H 282.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6451E2
RGBrgb(100, 81, 226)
HSLhsl(248, 71%, 60%)
HSVhsv(248, 64%, 89%)
CMYKcmyk(55.8%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.35, 46.49, -71.39)
CIE-LCHlch(44.35, 85.19, 303.07°)
OKLaboklab(53.99% 0.0463 -0.2052)
OKLCHoklch(53.99% 0.21 282.7)
XYZxyz(21.9212, 14.0838, 73.5001)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451E2 #CFE251
analogous
#5186E2 #6451E2 #AC51E2
triadic
#6451E2 #E26451 #51E264
tetradic
#6451E2 #E25186 #CFE251 #51E2AC
square
#6451E2 #E25186 #CFE251 #51E2AC
split-complementary
#6451E2 #E2AC51 #86E251
monochromatic
#2C1A9E #3A23D3 #6451E2 #9385EB #C1BAF3

Accessibility & contrast

On white

5.50
#6451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6451E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451E2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451E2#FFFFFF#000000##FFFFFF
##6451E21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#247592
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6451e2;
/* rgb */ color: rgb(100, 81, 226);
/* oklch */ color: oklch(54.0% 0.210 282.7);
Tailwind
colors: {
  custom: {
    50: '#9b83ec',
    500: '#6451e2',
    950: '#000000',
  },
}
SCSS
$custom: #6451e2;
$custom-light: #9b83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6451e2",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 247.862,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.21037,
    "h": 282.7
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#6451E2
secondary
#DCE3AC
accent
#D312BA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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