#6256DC#6256DC

#6256DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.2% C 0.197 H 281.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6256DC
RGBrgb(98, 86, 220)
HSLhsl(245, 66%, 60%)
HSVhsv(245, 61%, 86%)
CMYKcmyk(55.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.83, 41.42, -67.21)
CIE-LCHlch(44.83, 78.95, 301.64°)
OKLaboklab(54.16% 0.0396 -0.193)
OKLCHoklch(54.16% 0.197 281.6)
XYZxyz(21.2791, 14.4182, 69.3580)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256DC #D0DC56
analogous
#568DDC #6256DC #A556DC
triadic
#6256DC #DC6256 #56DC62
tetradic
#6256DC #DC568D #D0DC56 #56DCA5
square
#6256DC #DC568D #D0DC56 #56DCA5
split-complementary
#6256DC #DCA556 #8DDC56
monochromatic
#2A2098 #382ACB #6256DC #9189E6 #C0BBF1

Accessibility & contrast

On white

5.41
#6256DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6256DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256DC#FFFFFF#000000##FFFFFF
##6256DC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#257691
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6256dc;
/* rgb */ color: rgb(98, 86, 220);
/* oklch */ color: oklch(54.2% 0.197 281.6);
Tailwind
colors: {
  custom: {
    50: '#9986e8',
    500: '#6256dc',
    950: '#000000',
  },
}
SCSS
$custom: #6256dc;
$custom-light: #9986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6256dc",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 245.373,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.19701,
    "h": 281.6
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#6256DC
secondary
#DCE1AD
accent
#E93FD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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