#6351F2#6351F2

#6351F2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.230 H 280.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6351F2
RGBrgb(99, 81, 242)
HSLhsl(247, 86%, 63%)
HSVhsv(247, 67%, 95%)
CMYKcmyk(59.1%, 66.5%, 0%, 5.1%)
CIE-LABlab(45.56, 51.16, -78.45)
CIE-LCHlch(45.56, 93.66, 303.11°)
OKLaboklab(55.25% 0.0431 -0.226)
OKLCHoklch(55.25% 0.23 280.8)
XYZxyz(24.1100, 14.9466, 85.6017)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351F2 #E0F251
analogous
#518FF2 #6351F2 #B351F2
triadic
#6351F2 #F26351 #51F263
tetradic
#6351F2 #F2518F #E0F251 #51F2B3
square
#6351F2 #F2518F #E0F251 #51F2B3
split-complementary
#6351F2 #F2B351 #8FF251
monochromatic
#210EBB #3018EE #6351F2 #968AF6 #C9C3FB

Accessibility & contrast

On white

5.26
#6351F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6351F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351F2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351F2#FFFFFF#000000##FFFFFF
##6351F21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6351f2;
/* rgb */ color: rgb(99, 81, 242);
/* oklch */ color: oklch(55.2% 0.230 280.8);
Tailwind
colors: {
  custom: {
    50: '#9d83f8',
    500: '#6351f2',
    950: '#000000',
  },
}
SCSS
$custom: #6351f2;
$custom-light: #9d83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6351f2",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 246.708,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.23004,
    "h": 280.8
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#6351F2
secondary
#E6ECB3
accent
#E303CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6351F2

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

Preview Lab → · Contrast checker → · Palette generator →

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