#6351E9#6351E9

#6351E9 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.219 H 281.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6351E9
RGBrgb(99, 81, 233)
HSLhsl(247, 78%, 62%)
HSVhsv(247, 65%, 91%)
CMYKcmyk(57.5%, 65.2%, 0%, 8.6%)
CIE-LABlab(44.83, 48.44, -74.58)
CIE-LCHlch(44.83, 88.93, 303.01°)
OKLaboklab(54.49% 0.0443 -0.2146)
OKLCHoklch(54.49% 0.219 281.7)
XYZxyz(22.7914, 14.4192, 78.6572)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351E9 #D7E951
analogous
#518BE9 #6351E9 #AF51E9
triadic
#6351E9 #E96351 #51E963
tetradic
#6351E9 #E9518B #D7E951 #51E9AF
square
#6351E9 #E9518B #D7E951 #51E9AF
split-complementary
#6351E9 #E9AF51 #8BE951
monochromatic
#2716AA #341CE0 #6351E9 #9487F0 #C4BEF7

Accessibility & contrast

On white

5.41
#6351E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6351E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351E9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351E9#FFFFFF#000000##FFFFFF
##6351E91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#0F7896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6351e9;
/* rgb */ color: rgb(99, 81, 233);
/* oklch */ color: oklch(54.5% 0.219 281.7);
Tailwind
colors: {
  custom: {
    50: '#9c83f1',
    500: '#6351e9',
    950: '#000000',
  },
}
SCSS
$custom: #6351e9;
$custom-light: #9c83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6351e9",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 247.105,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.21913,
    "h": 281.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#6351E9
secondary
#E0E7AF
accent
#DA0CC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6351E9

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

Preview Lab → · Contrast checker → · Palette generator →

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