#6256C8#6256C8

#6256C8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.171 H 283.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6256C8
RGBrgb(98, 86, 200)
HSLhsl(246, 51%, 56%)
HSVhsv(246, 57%, 78%)
CMYKcmyk(51%, 57%, 0%, 21.6%)
CIE-LABlab(43.39, 35.26, -58.06)
CIE-LCHlch(43.39, 67.93, 301.27°)
OKLaboklab(52.65% 0.0402 -0.1661)
OKLCHoklch(52.65% 0.171 283.6)
XYZxyz(18.7870, 13.4214, 56.2330)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256C8 #BCC856
analogous
#5683C8 #6256C8 #9B56C8
triadic
#6256C8 #C86256 #56C862
tetradic
#6256C8 #C85683 #BCC856 #56C89B
square
#6256C8 #C85683 #BCC856 #56C89B
split-complementary
#6256C8 #C89B56 #83C856
monochromatic
#31287B #4337AA #6256C8 #8D84D7 #B8B2E6

Accessibility & contrast

On white

5.70
#6256C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6256C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256C8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256C8#FFFFFF#000000##FFFFFF
##6256C81.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#3A7087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6256c8;
/* rgb */ color: rgb(98, 86, 200);
/* oklch */ color: oklch(52.6% 0.171 283.6);
Tailwind
colors: {
  custom: {
    50: '#9686d9',
    500: '#6256c8',
    950: '#000000',
  },
}
SCSS
$custom: #6256c8;
$custom-light: #9686d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6256c8",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 246.316,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.17088,
    "h": 283.6
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#6256C8
secondary
#CFD4A5
accent
#DA4DCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6256C8

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

Preview Lab → · Contrast checker → · Palette generator →

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