#6351E8#6351E8

#6351E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.218 H 281.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6351E8
RGBrgb(99, 81, 232)
HSLhsl(247, 77%, 61%)
HSVhsv(247, 65%, 91%)
CMYKcmyk(57.3%, 65.1%, 0%, 9%)
CIE-LABlab(44.75, 48.14, -74.14)
CIE-LCHlch(44.75, 88.40, 302.99°)
OKLaboklab(54.41% 0.0444 -0.2133)
OKLCHoklch(54.41% 0.218 281.8)
XYZxyz(22.6490, 14.3622, 77.9070)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351E8 #D6E851
analogous
#518BE8 #6351E8 #AF51E8
triadic
#6351E8 #E86351 #51E863
tetradic
#6351E8 #E8518B #D6E851 #51E8AF
square
#6351E8 #E8518B #D6E851 #51E8AF
split-complementary
#6351E8 #E8AF51 #8BE851
monochromatic
#2816A8 #341DDE #6351E8 #9387EF #C4BDF6

Accessibility & contrast

On white

5.42
#6351E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6351E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351E8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351E8#FFFFFF#000000##FFFFFF
##6351E81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#127795
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6351e8;
/* rgb */ color: rgb(99, 81, 232);
/* oklch */ color: oklch(54.4% 0.218 281.8);
Tailwind
colors: {
  custom: {
    50: '#9c83f0',
    500: '#6351e8',
    950: '#000000',
  },
}
SCSS
$custom: #6351e8;
$custom-light: #9c83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6351e8",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 247.152,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.2179,
    "h": 281.8
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#6351E8
secondary
#E0E7AE
accent
#D90DC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6351E8

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

Preview Lab → · Contrast checker → · Palette generator →

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