#6251DC#6251DC

#6251DC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.203 H 282.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6251DC
RGBrgb(98, 81, 220)
HSLhsl(247, 67%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(43.72, 44.33, -69.01)
CIE-LCHlch(43.72, 82.02, 302.72°)
OKLaboklab(53.35% 0.0443 -0.1983)
OKLCHoklch(53.35% 0.203 282.6)
XYZxyz(20.8937, 13.6475, 69.2295)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251DC #CBDC51
analogous
#5186DC #6251DC #A851DC
triadic
#6251DC #DC6251 #51DC62
tetradic
#6251DC #DC5186 #CBDC51 #51DCA8
square
#6251DC #DC5186 #CBDC51 #51DCA8
split-complementary
#6251DC #DCA851 #86DC51
monochromatic
#2C1E95 #3C28C8 #6251DC #9084E6 #BEB7F0

Accessibility & contrast

On white

5.63
#6251DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6251DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251DC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251DC#FFFFFF#000000##FFFFFF
##6251DC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#26738F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6251dc;
/* rgb */ color: rgb(98, 81, 220);
/* oklch */ color: oklch(53.3% 0.203 282.6);
Tailwind
colors: {
  custom: {
    50: '#9983e8',
    500: '#6251dc',
    950: '#000000',
  },
}
SCSS
$custom: #6251dc;
$custom-light: #9983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6251dc",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 247.338,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.20317,
    "h": 282.6
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#6251DC
secondary
#D9E0A9
accent
#E93ED5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6251DC

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

Preview Lab → · Contrast checker → · Palette generator →

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