#6351CB#6351CB

#6351CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.1% C 0.181 H 284.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6351CB
RGBrgb(99, 81, 203)
HSLhsl(249, 54%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(51.2%, 60.1%, 0%, 20.4%)
CIE-LABlab(42.53, 39.36, -61.18)
CIE-LCHlch(42.53, 72.75, 302.75°)
OKLaboklab(52.1% 0.0467 -0.1752)
OKLCHoklch(52.1% 0.181 284.9)
XYZxyz(18.8643, 12.8483, 57.9743)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351CB #B9CB51
analogous
#517CCB #6351CB #A051CB
triadic
#6351CB #CB6351 #51CB63
tetradic
#6351CB #CB517C #B9CB51 #51CBA0
square
#6351CB #CB517C #B9CB51 #51CBA0
split-complementary
#6351CB #CBA051 #7CCB51
monochromatic
#32257C #4533AC #6351CB #8D80D9 #B7AFE7

Accessibility & contrast

On white

5.88
#6351CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6351CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351CB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351CB#FFFFFF#000000##FFFFFF
##6351CB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#3B6E86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6351cb;
/* rgb */ color: rgb(99, 81, 203);
/* oklch */ color: oklch(52.1% 0.181 284.9);
Tailwind
colors: {
  custom: {
    50: '#9882dc',
    500: '#6351cb',
    950: '#000000',
  },
}
SCSS
$custom: #6351cb;
$custom-light: #9882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6351cb",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 248.852,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.18136,
    "h": 284.9
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#6351CB
secondary
#CED5A3
accent
#DD4AC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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