#6256BD#6256BD

#6256BD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.156 H 284.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6256BD
RGBrgb(98, 86, 189)
HSLhsl(247, 44%, 54%)
HSVhsv(247, 54%, 74%)
CMYKcmyk(48.1%, 54.5%, 0%, 25.9%)
CIE-LABlab(42.65, 31.90, -52.87)
CIE-LCHlch(42.65, 61.75, 301.10°)
OKLaboklab(51.86% 0.04 -0.1508)
OKLCHoklch(51.86% 0.156 284.9)
XYZxyz(17.5474, 12.9255, 49.7045)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256BD #B1BD56
analogous
#567EBD #6256BD #9656BD
triadic
#6256BD #BD6256 #56BD62
tetradic
#6256BD #BD567E #B1BD56 #56BD96
square
#6256BD #BD567E #B1BD56 #56BD96
split-complementary
#6256BD #BD9656 #7EBD56
monochromatic
#332B6E #473C9A #6256BD #8B82CE #B4AEDF

Accessibility & contrast

On white

5.86
#6256BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6256BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256BD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256BD#FFFFFF#000000##FFFFFF
##6256BD1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#426D81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6256bd;
/* rgb */ color: rgb(98, 86, 189);
/* oklch */ color: oklch(51.9% 0.156 284.9);
Tailwind
colors: {
  custom: {
    50: '#9586d1',
    500: '#6256bd',
    950: '#000000',
  },
}
SCSS
$custom: #6256bd;
$custom-light: #9586d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6256bd",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 246.99,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.15603,
    "h": 284.9
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#6256BD
secondary
#C8CDA1
accent
#D454C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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