#6351E1#6351E1

#6351E1 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.209 H 282.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6351E1
RGBrgb(99, 81, 225)
HSLhsl(248, 71%, 60%)
HSVhsv(248, 64%, 88%)
CMYKcmyk(56%, 64%, 0%, 11.8%)
CIE-LABlab(44.19, 46.02, -71.08)
CIE-LCHlch(44.19, 84.68, 302.92°)
OKLaboklab(53.83% 0.0451 -0.2043)
OKLCHoklch(53.83% 0.209 282.5)
XYZxyz(21.6744, 13.9724, 72.7744)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351E1 #CFE151
analogous
#5187E1 #6351E1 #AB51E1
triadic
#6351E1 #E16351 #51E163
tetradic
#6351E1 #E15187 #CFE151 #51E1AB
square
#6351E1 #E15187 #CFE151 #51E1AB
split-complementary
#6351E1 #E1AB51 #87E151
monochromatic
#2B1B9D #3A24D1 #6351E1 #9285EA #C1B9F3

Accessibility & contrast

On white

5.53
#6351E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6351E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351E1#FFFFFF#000000##FFFFFF
##6351E11.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#227592
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6351e1;
/* rgb */ color: rgb(99, 81, 225);
/* oklch */ color: oklch(53.8% 0.209 282.5);
Tailwind
colors: {
  custom: {
    50: '#9b83eb',
    500: '#6351e1',
    950: '#000000',
  },
}
SCSS
$custom: #6351e1;
$custom-light: #9b83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6351e1",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 247.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.20927,
    "h": 282.5
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#6351E1
secondary
#DCE3AB
accent
#ED3AD7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6351E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6351E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva