#6351E5#6351E5

#6351E5 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.214 H 282.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6351E5
RGBrgb(99, 81, 229)
HSLhsl(247, 74%, 61%)
HSVhsv(247, 65%, 90%)
CMYKcmyk(56.8%, 64.6%, 0%, 10.2%)
CIE-LABlab(44.51, 47.23, -72.84)
CIE-LCHlch(44.51, 86.81, 302.96°)
OKLaboklab(54.16% 0.0447 -0.2095)
OKLCHoklch(54.16% 0.214 282)
XYZxyz(22.2265, 14.1932, 75.6819)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351E5 #D3E551
analogous
#5189E5 #6351E5 #AD51E5
triadic
#6351E5 #E56351 #51E563
tetradic
#6351E5 #E55189 #D3E551 #51E5AD
square
#6351E5 #E55189 #D3E551 #51E5AD
split-complementary
#6351E5 #E5AD51 #89E551
monochromatic
#2918A3 #3720D8 #6351E5 #9386ED #C2BBF5

Accessibility & contrast

On white

5.47
#6351E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6351E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351E5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351E5#FFFFFF#000000##FFFFFF
##6351E51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#1A7694
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6351e5;
/* rgb */ color: rgb(99, 81, 229);
/* oklch */ color: oklch(54.2% 0.214 282.0);
Tailwind
colors: {
  custom: {
    50: '#9b83ee',
    500: '#6351e5',
    950: '#000000',
  },
}
SCSS
$custom: #6351e5;
$custom-light: #9b83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6351e5",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 247.297,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.21422,
    "h": 282
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#6351E5
secondary
#DEE5AD
accent
#D60FBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6351E5

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

Preview Lab → · Contrast checker → · Palette generator →

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