#6251DE#6251DE

#6251DE is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.206 H 282.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6251DE
RGBrgb(98, 81, 222)
HSLhsl(247, 68%, 59%)
HSVhsv(247, 64%, 87%)
CMYKcmyk(55.9%, 63.5%, 0%, 12.9%)
CIE-LABlab(43.88, 44.94, -69.89)
CIE-LCHlch(43.88, 83.10, 302.74°)
OKLaboklab(53.51% 0.0441 -0.2009)
OKLCHoklch(53.51% 0.206 282.4)
XYZxyz(21.1602, 13.7541, 70.6329)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251DE #CDDE51
analogous
#5187DE #6251DE #A951DE
triadic
#6251DE #DE6251 #51DE62
tetradic
#6251DE #DE5187 #CDDE51 #51DEA9
square
#6251DE #DE5187 #CDDE51 #51DEA9
split-complementary
#6251DE #DEA951 #87DE51
monochromatic
#2C1D98 #3A27CB #6251DE #9084E8 #BFB8F2

Accessibility & contrast

On white

5.60
#6251DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6251DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251DE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251DE#FFFFFF#000000##FFFFFF
##6251DE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#237490
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6251de;
/* rgb */ color: rgb(98, 81, 222);
/* oklch */ color: oklch(53.5% 0.206 282.4);
Tailwind
colors: {
  custom: {
    50: '#9a83e9',
    500: '#6251de',
    950: '#000000',
  },
}
SCSS
$custom: #6251de;
$custom-light: #9a83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6251de",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 247.234,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.20567,
    "h": 282.4
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#6251DE
secondary
#DAE1AA
accent
#EB3DD6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6251DE

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

Preview Lab → · Contrast checker → · Palette generator →

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