#6451EC#6451EC

#6451EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.8% C 0.223 H 281.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6451EC
RGBrgb(100, 81, 236)
HSLhsl(247, 80%, 62%)
HSVhsv(247, 66%, 93%)
CMYKcmyk(57.6%, 65.7%, 0%, 7.5%)
CIE-LABlab(45.15, 49.50, -75.74)
CIE-LCHlch(45.15, 90.49, 303.17°)
OKLaboklab(54.82% 0.0452 -0.218)
OKLCHoklch(54.82% 0.223 281.7)
XYZxyz(23.3336, 14.6488, 80.9385)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451EC #D9EC51
analogous
#518BEC #6451EC #B251EC
triadic
#6451EC #EC6451 #51EC64
tetradic
#6451EC #EC518B #D9EC51 #51ECB2
square
#6451EC #EC518B #D9EC51 #51ECB2
split-complementary
#6451EC #ECB251 #8BEC51
monochromatic
#2613AF #331AE6 #6451EC #9588F2 #C6BFF8

Accessibility & contrast

On white

5.34
#6451EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6451EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451EC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451EC#FFFFFF#000000##FFFFFF
##6451EC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#0C7998
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6451ec;
/* rgb */ color: rgb(100, 81, 236);
/* oklch */ color: oklch(54.8% 0.223 281.7);
Tailwind
colors: {
  custom: {
    50: '#9d83f3',
    500: '#6451ec',
    950: '#000000',
  },
}
SCSS
$custom: #6451ec;
$custom-light: #9d83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6451ec",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 247.355,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.22263,
    "h": 281.7
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#6451EC
secondary
#E2E9B0
accent
#DD09C3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6451EC

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

Preview Lab → · Contrast checker → · Palette generator →

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