#6351BF#6351BF

#6351BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.166 H 286.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6351BF
RGBrgb(99, 81, 191)
HSLhsl(250, 46%, 53%)
HSVhsv(250, 58%, 75%)
CMYKcmyk(48.2%, 57.6%, 0%, 25.1%)
CIE-LABlab(41.69, 35.74, -55.59)
CIE-LCHlch(41.69, 66.09, 302.74°)
OKLaboklab(51.21% 0.047 -0.1588)
OKLCHoklch(51.21% 0.166 286.5)
XYZxyz(17.4892, 12.2983, 50.7324)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351BF #ADBF51
analogous
#5176BF #6351BF #9A51BF
triadic
#6351BF #BF6351 #51BF63
tetradic
#6351BF #BF5176 #ADBF51 #51BF9A
square
#6351BF #BF5176 #ADBF51 #51BF9A
split-complementary
#6351BF #BF9A51 #76BF51
monochromatic
#34286D #49399A #6351BF #8B7ECF #B3AAE0

Accessibility & contrast

On white

6.07
#6351BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6351BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351BF#FFFFFF#000000##FFFFFF
##6351BF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#446A80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6351bf;
/* rgb */ color: rgb(99, 81, 191);
/* oklch */ color: oklch(51.2% 0.166 286.5);
Tailwind
colors: {
  custom: {
    50: '#9682d3',
    500: '#6351bf',
    950: '#000000',
  },
}
SCSS
$custom: #6351bf;
$custom-light: #9682d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6351bf",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 249.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.16562,
    "h": 286.5
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#6351BF
secondary
#C6CE9E
accent
#D652C0
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6351BF

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

Preview Lab → · Contrast checker → · Palette generator →

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