#6256BF#6256BF

#6256BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.159 H 284.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6256BF
RGBrgb(98, 86, 191)
HSLhsl(247, 45%, 54%)
HSVhsv(247, 55%, 75%)
CMYKcmyk(48.7%, 55%, 0%, 25.1%)
CIE-LABlab(42.78, 32.51, -53.83)
CIE-LCHlch(42.78, 62.88, 301.13°)
OKLaboklab(52% 0.0401 -0.1536)
OKLCHoklch(52% 0.159 284.6)
XYZxyz(17.7660, 13.0130, 50.8558)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256BF #B3BF56
analogous
#567FBF #6256BF #9756BF
triadic
#6256BF #BF6256 #56BF62
tetradic
#6256BF #BF567F #B3BF56 #56BF97
square
#6256BF #BF567F #B3BF56 #56BF97
split-complementary
#6256BF #BF9756 #7FBF56
monochromatic
#322A70 #463B9D #6256BF #8B82D0 #B4AFE1

Accessibility & contrast

On white

5.83
#6256BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6256BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256BF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256BF#FFFFFF#000000##FFFFFF
##6256BF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#416D82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6256bf;
/* rgb */ color: rgb(98, 86, 191);
/* oklch */ color: oklch(52.0% 0.159 284.6);
Tailwind
colors: {
  custom: {
    50: '#9586d3',
    500: '#6256bf',
    950: '#000000',
  },
}
SCSS
$custom: #6256bf;
$custom-light: #9586d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6256bf",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 246.857,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52,
    "c": 0.15875,
    "h": 284.6
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#6256BF
secondary
#CACFA2
accent
#D553C6
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6256BF

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

Preview Lab → · Contrast checker → · Palette generator →

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