#6251BF#6251BF

#6251BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.166 H 286.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6251BF
RGBrgb(98, 81, 191)
HSLhsl(249, 46%, 53%)
HSVhsv(249, 58%, 75%)
CMYKcmyk(48.7%, 57.6%, 0%, 25.1%)
CIE-LABlab(41.60, 35.53, -55.74)
CIE-LCHlch(41.60, 66.10, 302.52°)
OKLaboklab(51.12% 0.0457 -0.1592)
OKLCHoklch(51.12% 0.166 286)
XYZxyz(17.3806, 12.2423, 50.7273)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251BF #AEBF51
analogous
#5177BF #6251BF #9951BF
triadic
#6251BF #BF6251 #51BF62
tetradic
#6251BF #BF5177 #AEBF51 #51BF99
square
#6251BF #BF5177 #AEBF51 #51BF99
split-complementary
#6251BF #BF9951 #77BF51
monochromatic
#33286D #48399A #6251BF #8A7ECF #B3AAE0

Accessibility & contrast

On white

6.09
#6251BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6251BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251BF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251BF#FFFFFF#000000##FFFFFF
##6251BF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#426A80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6251bf;
/* rgb */ color: rgb(98, 81, 191);
/* oklch */ color: oklch(51.1% 0.166 286.0);
Tailwind
colors: {
  custom: {
    50: '#9582d3',
    500: '#6251bf',
    950: '#000000',
  },
}
SCSS
$custom: #6251bf;
$custom-light: #9582d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6251bf",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 249.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.16569,
    "h": 286
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#6251BF
secondary
#C6CE9E
accent
#D652C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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