#6251DD#6251DD

#6251DD is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.204 H 282.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6251DD
RGBrgb(98, 81, 221)
HSLhsl(247, 67%, 59%)
HSVhsv(247, 63%, 87%)
CMYKcmyk(55.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(43.80, 44.64, -69.45)
CIE-LCHlch(43.80, 82.56, 302.73°)
OKLaboklab(53.43% 0.0442 -0.1996)
OKLCHoklch(53.43% 0.204 282.5)
XYZxyz(21.0266, 13.7007, 69.9291)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251DD #CCDD51
analogous
#5186DD #6251DD #A851DD
triadic
#6251DD #DD6251 #51DD62
tetradic
#6251DD #DD5186 #CCDD51 #51DDA8
square
#6251DD #DD5186 #CCDD51 #51DDA8
split-complementary
#6251DD #DDA851 #86DD51
monochromatic
#2C1D96 #3B27C9 #6251DD #9084E7 #BEB7F1

Accessibility & contrast

On white

5.61
#6251DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6251DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251DD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251DD#FFFFFF#000000##FFFFFF
##6251DD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#247490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6251dd;
/* rgb */ color: rgb(98, 81, 221);
/* oklch */ color: oklch(53.4% 0.204 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a83e9',
    500: '#6251dd',
    950: '#000000',
  },
}
SCSS
$custom: #6251dd;
$custom-light: #9a83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6251dd",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 247.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.20442,
    "h": 282.5
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#6251DD
secondary
#DAE0AA
accent
#EA3ED5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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