#6251CE#6251CE

#6251CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.185 H 284.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6251CE
RGBrgb(98, 81, 206)
HSLhsl(248, 56%, 56%)
HSVhsv(248, 61%, 81%)
CMYKcmyk(52.4%, 60.7%, 0%, 19.2%)
CIE-LABlab(42.67, 40.07, -62.70)
CIE-LCHlch(42.67, 74.41, 302.58°)
OKLaboklab(52.25% 0.0453 -0.1797)
OKLCHoklch(52.25% 0.185 284.1)
XYZxyz(19.1166, 12.9367, 59.8703)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251CE #BDCE51
analogous
#517FCE #6251CE #A151CE
triadic
#6251CE #CE6251 #51CE62
tetradic
#6251CE #CE517F #BDCE51 #51CEA1
square
#6251CE #CE517F #BDCE51 #51CEA1
split-complementary
#6251CE #CEA151 #7FCE51
monochromatic
#312480 #4332B0 #6251CE #8D81DB #B8B1E9

Accessibility & contrast

On white

5.85
#6251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6251CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251CE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251CE#FFFFFF#000000##FFFFFF
##6251CE1.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)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#366F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6251ce;
/* rgb */ color: rgb(98, 81, 206);
/* oklch */ color: oklch(52.2% 0.185 284.1);
Tailwind
colors: {
  custom: {
    50: '#9782de',
    500: '#6251ce',
    950: '#000000',
  },
}
SCSS
$custom: #6251ce;
$custom-light: #9782de;
$custom-dark: #000000;
JSON
{
  "hex": "#6251ce",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 248.16,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.18535,
    "h": 284.1
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#6251CE
secondary
#D0D7A4
accent
#DF48CB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6251CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6251CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva