#6351CD#6351CD

#6351CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.3% C 0.184 H 284.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6351CD
RGBrgb(99, 81, 205)
HSLhsl(249, 55%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(51.7%, 60.5%, 0%, 19.6%)
CIE-LABlab(42.68, 39.96, -62.10)
CIE-LCHlch(42.68, 73.85, 302.76°)
OKLaboklab(52.25% 0.0466 -0.1779)
OKLCHoklch(52.25% 0.184 284.7)
XYZxyz(19.1042, 12.9443, 59.2376)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351CD #BBCD51
analogous
#517DCD #6351CD #A151CD
triadic
#6351CD #CD6351 #51CD63
tetradic
#6351CD #CD517D #BBCD51 #51CDA1
square
#6351CD #CD517D #BBCD51 #51CDA1
split-complementary
#6351CD #CDA151 #7DCD51
monochromatic
#32257F #4432AF #6351CD #8E81DB #B8B0E8

Accessibility & contrast

On white

5.85
#6351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351CD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351CD#FFFFFF#000000##FFFFFF
##6351CD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#396E87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6351cd;
/* rgb */ color: rgb(99, 81, 205);
/* oklch */ color: oklch(52.3% 0.184 284.7);
Tailwind
colors: {
  custom: {
    50: '#9883dd',
    500: '#6351cd',
    950: '#000000',
  },
}
SCSS
$custom: #6351cd;
$custom-light: #9883dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6351cd",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 248.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.18395,
    "h": 284.7
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#6351CD
secondary
#CFD7A3
accent
#DF49C9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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