#6251E9#6251E9

#6251E9 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.219 H 281.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6251E9
RGBrgb(98, 81, 233)
HSLhsl(247, 78%, 62%)
HSVhsv(247, 65%, 91%)
CMYKcmyk(57.9%, 65.2%, 0%, 8.6%)
CIE-LABlab(44.75, 48.29, -74.71)
CIE-LCHlch(44.75, 88.96, 302.88°)
OKLaboklab(54.41% 0.043 -0.215)
OKLCHoklch(54.41% 0.219 281.3)
XYZxyz(22.6828, 14.3632, 78.6521)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251E9 #D8E951
analogous
#518CE9 #6251E9 #AE51E9
triadic
#6251E9 #E96251 #51E962
tetradic
#6251E9 #E9518C #D8E951 #51E9AE
square
#6251E9 #E9518C #D8E951 #51E9AE
split-complementary
#6251E9 #E9AE51 #8CE951
monochromatic
#2616AA #321CE0 #6251E9 #9387F0 #C4BEF7

Accessibility & contrast

On white

5.42
#6251E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6251E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251E9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251E9#FFFFFF#000000##FFFFFF
##6251E91.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#047896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6251e9;
/* rgb */ color: rgb(98, 81, 233);
/* oklch */ color: oklch(54.4% 0.219 281.3);
Tailwind
colors: {
  custom: {
    50: '#9b83f1',
    500: '#6251e9',
    950: '#000000',
  },
}
SCSS
$custom: #6251e9;
$custom-light: #9b83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6251e9",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 246.711,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.21928,
    "h": 281.3
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#6251E9
secondary
#E1E7AF
accent
#DA0CC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6251E9

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

Preview Lab → · Contrast checker → · Palette generator →

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