#6251DA#6251DA

#6251DA is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.201 H 282.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6251DA
RGBrgb(98, 81, 218)
HSLhsl(247, 65%, 59%)
HSVhsv(247, 63%, 85%)
CMYKcmyk(55%, 62.8%, 0%, 14.5%)
CIE-LABlab(43.57, 43.72, -68.12)
CIE-LCHlch(43.57, 80.94, 302.70°)
OKLaboklab(53.19% 0.0445 -0.1957)
OKLCHoklch(53.19% 0.201 282.8)
XYZxyz(20.6304, 13.5422, 67.8429)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251DA #C9DA51
analogous
#5184DA #6251DA #A651DA
triadic
#6251DA #DA6251 #51DA62
tetradic
#6251DA #DA5184 #C9DA51 #51DAA6
square
#6251DA #DA5184 #C9DA51 #51DAA6
split-complementary
#6251DA #DAA651 #84DA51
monochromatic
#2D1F92 #3D2AC4 #6251DA #9083E5 #BDB6EF

Accessibility & contrast

On white

5.66
#6251DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6251DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251DA#FFFFFF#000000##FFFFFF
##6251DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#28738E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6251da;
/* rgb */ color: rgb(98, 81, 218);
/* oklch */ color: oklch(53.2% 0.201 282.8);
Tailwind
colors: {
  custom: {
    50: '#9983e6',
    500: '#6251da',
    950: '#000000',
  },
}
SCSS
$custom: #6251da;
$custom-light: #9983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6251da",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 247.445,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.20065,
    "h": 282.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#6251DA
secondary
#D8DEA8
accent
#E840D3
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6251DA

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

Preview Lab → · Contrast checker → · Palette generator →

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