#6251EE#6251EE

#6251EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.225 H 280.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6251EE
RGBrgb(98, 81, 238)
HSLhsl(246, 82%, 63%)
HSVhsv(246, 66%, 93%)
CMYKcmyk(58.8%, 66%, 0%, 6.7%)
CIE-LABlab(45.16, 49.81, -76.87)
CIE-LCHlch(45.16, 91.59, 302.94°)
OKLaboklab(54.83% 0.0424 -0.2213)
OKLCHoklch(54.83% 0.225 280.8)
XYZxyz(23.4072, 14.6529, 82.4672)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251EE #DDEE51
analogous
#518EEE #6251EE #B151EE
triadic
#6251EE #EE6251 #51EE62
tetradic
#6251EE #EE518E #DDEE51 #51EEB1
square
#6251EE #EE518E #DDEE51 #51EEB1
split-complementary
#6251EE #EEB151 #8EEE51
monochromatic
#2311B3 #3019E9 #6251EE #9489F3 #C7C1F9

Accessibility & contrast

On white

5.34
#6251EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6251EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251EE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251EE#FFFFFF#000000##FFFFFF
##6251EE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6251ee;
/* rgb */ color: rgb(98, 81, 238);
/* oklch */ color: oklch(54.8% 0.225 280.8);
Tailwind
colors: {
  custom: {
    50: '#9c83f5',
    500: '#6251ee',
    950: '#000000',
  },
}
SCSS
$custom: #6251ee;
$custom-light: #9c83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6251ee",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 246.497,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.22537,
    "h": 280.8
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#6251EE
secondary
#E4EAB1
accent
#DF07C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6251EE

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

Preview Lab → · Contrast checker → · Palette generator →

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