#6256CF#6256CF

#6256CF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.180 H 282.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6256CF
RGBrgb(98, 86, 207)
HSLhsl(246, 56%, 57%)
HSVhsv(246, 58%, 81%)
CMYKcmyk(52.7%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.88, 37.41, -61.31)
CIE-LCHlch(43.88, 71.82, 301.39°)
OKLaboklab(53.16% 0.0401 -0.1756)
OKLCHoklch(53.16% 0.18 282.9)
XYZxyz(19.6238, 13.7561, 60.6405)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256CF #C3CF56
analogous
#5687CF #6256CF #9E56CF
triadic
#6256CF #CF6256 #56CF62
tetradic
#6256CF #CF5687 #C3CF56 #56CF9E
square
#6256CF #CF5687 #C3CF56 #56CF9E
split-complementary
#6256CF #CF9E56 #87CF56
monochromatic
#2F2685 #4033B5 #6256CF #8E86DD #BBB5EA

Accessibility & contrast

On white

5.60
#6256CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6256CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256CF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256CF#FFFFFF#000000##FFFFFF
##6256CF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#34728A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6256cf;
/* rgb */ color: rgb(98, 86, 207);
/* oklch */ color: oklch(53.2% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#9786de',
    500: '#6256cf',
    950: '#000000',
  },
}
SCSS
$custom: #6256cf;
$custom-light: #9786de;
$custom-dark: #000000;
JSON
{
  "hex": "#6256cf",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 245.95,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.18015,
    "h": 282.9
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#6256CF
secondary
#D4D9A8
accent
#DF49D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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