#6351FF#6351FF

#6351FF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.4% C 0.246 H 279.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6351FF
RGBrgb(99, 81, 255)
HSLhsl(246, 100%, 66%)
HSVhsv(246, 68%, 100%)
CMYKcmyk(61.2%, 68.2%, 0%, 0%)
CIE-LABlab(46.65, 55.07, -83.93)
CIE-LCHlch(46.65, 100.38, 303.27°)
OKLaboklab(56.36% 0.0413 -0.242)
OKLCHoklch(56.36% 0.246 279.7)
XYZxyz(26.1323, 15.7555, 96.2524)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351FF #EDFF51
analogous
#5196FF #6351FF #BA51FF
triadic
#6351FF #FF6351 #51FF63
tetradic
#6351FF #FF5196 #EDFF51 #51FFBA
square
#6351FF #FF5196 #EDFF51 #51FFBA
split-complementary
#6351FF #FFBA51 #96FF51
monochromatic
#1600D6 #2C14FF #6351FF #9A8EFF #D1CBFF

Accessibility & contrast

On white

5.06
#6351FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6351FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351FF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351FF#FFFFFF#000000##FFFFFF
##6351FF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6351ff;
/* rgb */ color: rgb(99, 81, 255);
/* oklch */ color: oklch(56.4% 0.246 279.7);
Tailwind
colors: {
  custom: {
    50: '#9f84ff',
    500: '#6351ff',
    950: '#000000',
  },
}
SCSS
$custom: #6351ff;
$custom-light: #9f84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6351ff",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 246.207,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.24551,
    "h": 279.7
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#6351FF
secondary
#EDF3B9
accent
#E600CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6351FF

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

Preview Lab → · Contrast checker → · Palette generator →

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