#6256CE#6256CE

#6256CE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.179 H 283.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6256CE
RGBrgb(98, 86, 206)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 58%, 81%)
CMYKcmyk(52.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(43.81, 37.10, -60.85)
CIE-LCHlch(43.81, 71.27, 301.37°)
OKLaboklab(53.09% 0.0402 -0.1743)
OKLCHoklch(53.09% 0.179 283)
XYZxyz(19.5020, 13.7074, 59.9987)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256CE #C2CE56
analogous
#5686CE #6256CE #9E56CE
triadic
#6256CE #CE6256 #56CE62
tetradic
#6256CE #CE5686 #C2CE56 #56CE9E
square
#6256CE #CE5686 #C2CE56 #56CE9E
split-complementary
#6256CE #CE9E56 #86CE56
monochromatic
#2F2683 #4134B3 #6256CE #8E85DC #BAB5EA

Accessibility & contrast

On white

5.61
#6256CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6256CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256CE#FFFFFF#000000##FFFFFF
##6256CE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#35728A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6256ce;
/* rgb */ color: rgb(98, 86, 206);
/* oklch */ color: oklch(53.1% 0.179 283.0);
Tailwind
colors: {
  custom: {
    50: '#9786de',
    500: '#6256ce',
    950: '#000000',
  },
}
SCSS
$custom: #6256ce;
$custom-light: #9786de;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ce",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 246,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.17883,
    "h": 283
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#6256CE
secondary
#D3D8A8
accent
#DE49CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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