#6251E5#6251E5

#6251E5 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.214 H 281.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6251E5
RGBrgb(98, 81, 229)
HSLhsl(247, 74%, 61%)
HSVhsv(247, 65%, 90%)
CMYKcmyk(57.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(44.43, 47.07, -72.97)
CIE-LCHlch(44.43, 86.84, 302.83°)
OKLaboklab(54.08% 0.0434 -0.2099)
OKLCHoklch(54.08% 0.214 281.7)
XYZxyz(22.1179, 14.1372, 75.6768)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251E5 #D4E551
analogous
#518AE5 #6251E5 #AC51E5
triadic
#6251E5 #E56251 #51E562
tetradic
#6251E5 #E5518A #D4E551 #51E5AC
square
#6251E5 #E5518A #D4E551 #51E5AC
split-complementary
#6251E5 #E5AC51 #8AE551
monochromatic
#2818A3 #3520D8 #6251E5 #9286ED #C2BBF5

Accessibility & contrast

On white

5.49
#6251E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6251E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251E5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251E5#FFFFFF#000000##FFFFFF
##6251E51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#147694
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6251e5;
/* rgb */ color: rgb(98, 81, 229);
/* oklch */ color: oklch(54.1% 0.214 281.7);
Tailwind
colors: {
  custom: {
    50: '#9b83ee',
    500: '#6251e5',
    950: '#000000',
  },
}
SCSS
$custom: #6251e5;
$custom-light: #9b83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6251e5",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 246.892,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.21437,
    "h": 281.7
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#6251E5
secondary
#DEE5AD
accent
#D60FBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6251E5

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

Preview Lab → · Contrast checker → · Palette generator →

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