#6251BC#6251BC

#6251BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.162 H 286.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6251BC
RGBrgb(98, 81, 188)
HSLhsl(250, 44%, 53%)
HSVhsv(250, 57%, 74%)
CMYKcmyk(47.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(41.39, 34.63, -54.32)
CIE-LCHlch(41.39, 64.42, 302.52°)
OKLaboklab(50.91% 0.0458 -0.1551)
OKLCHoklch(50.91% 0.162 286.4)
XYZxyz(17.0539, 12.1116, 49.0064)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251BC #ABBC51
analogous
#5175BC #6251BC #9851BC
triadic
#6251BC #BC6251 #51BC62
tetradic
#6251BC #BC5175 #ABBC51 #51BC98
square
#6251BC #BC5175 #ABBC51 #51BC98
split-complementary
#6251BC #BC9851 #75BC51
monochromatic
#33296A #483A96 #6251BC #8A7DCD #B2A9DE

Accessibility & contrast

On white

6.14
#6251BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6251BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251BC#FFFFFF#000000##FFFFFF
##6251BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#035FBA
Tritanopia (blue-blind)
#44697E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6251bc;
/* rgb */ color: rgb(98, 81, 188);
/* oklch */ color: oklch(50.9% 0.162 286.4);
Tailwind
colors: {
  custom: {
    50: '#9582d1',
    500: '#6251bc',
    950: '#000000',
  },
}
SCSS
$custom: #6251bc;
$custom-light: #9582d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6251bc",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 249.533,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.16169,
    "h": 286.4
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#6251BC
secondary
#C4CC9D
accent
#D454C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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