#6451D4#6451D4

#6451D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.9% C 0.193 H 284.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6451D4
RGBrgb(100, 81, 212)
HSLhsl(249, 60%, 57%)
HSVhsv(249, 62%, 83%)
CMYKcmyk(52.8%, 61.8%, 0%, 16.9%)
CIE-LABlab(43.28, 42.26, -65.14)
CIE-LCHlch(43.28, 77.65, 302.97°)
OKLaboklab(52.88% 0.0475 -0.1869)
OKLCHoklch(52.88% 0.193 284.3)
XYZxyz(20.0780, 13.3465, 63.7928)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451D4 #C1D451
analogous
#5180D4 #6451D4 #A551D4
triadic
#6451D4 #D46451 #51D464
tetradic
#6451D4 #D45180 #C1D451 #51D4A5
square
#6451D4 #D45180 #C1D451 #51D4A5
split-complementary
#6451D4 #D4A551 #80D451
monochromatic
#312289 #422EBA #6451D4 #9082E0 #BBB3EC

Accessibility & contrast

On white

5.72
#6451D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6451D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451D4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451D4#FFFFFF#000000##FFFFFF
##6451D41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#35718B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6451d4;
/* rgb */ color: rgb(100, 81, 212);
/* oklch */ color: oklch(52.9% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#9983e2',
    500: '#6451d4',
    950: '#000000',
  },
}
SCSS
$custom: #6451d4;
$custom-light: #9983e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6451d4",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 248.702,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.19281,
    "h": 284.3
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#6451D4
secondary
#D3DBA6
accent
#E444CC
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6451D4

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

Preview Lab → · Contrast checker → · Palette generator →

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