#6251BD#6251BD

#6251BD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.163 H 286.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6251BD
RGBrgb(98, 81, 189)
HSLhsl(249, 45%, 53%)
HSVhsv(249, 57%, 74%)
CMYKcmyk(48.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(41.46, 34.93, -54.79)
CIE-LCHlch(41.46, 64.98, 302.52°)
OKLaboklab(50.98% 0.0458 -0.1565)
OKLCHoklch(50.98% 0.163 286.3)
XYZxyz(17.1621, 12.1549, 49.5761)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251BD #ACBD51
analogous
#5176BD #6251BD #9851BD
triadic
#6251BD #BD6251 #51BD62
tetradic
#6251BD #BD5176 #ACBD51 #51BD98
square
#6251BD #BD5176 #ACBD51 #51BD98
split-complementary
#6251BD #BD9851 #76BD51
monochromatic
#33296B #483997 #6251BD #8A7DCE #B2AADF

Accessibility & contrast

On white

6.12
#6251BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6251BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251BD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251BD#FFFFFF#000000##FFFFFF
##6251BD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#43697F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6251bd;
/* rgb */ color: rgb(98, 81, 189);
/* oklch */ color: oklch(51.0% 0.163 286.3);
Tailwind
colors: {
  custom: {
    50: '#9582d2',
    500: '#6251bd',
    950: '#000000',
  },
}
SCSS
$custom: #6251bd;
$custom-light: #9582d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6251bd",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 249.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.16303,
    "h": 286.3
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#6251BD
secondary
#C5CC9E
accent
#D553C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6251BD

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

Preview Lab → · Contrast checker → · Palette generator →

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