#6256FB#6256FB

#6256FB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.7% C 0.236 H 279.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6256FB
RGBrgb(98, 86, 251)
HSLhsl(244, 95%, 66%)
HSVhsv(244, 66%, 98%)
CMYKcmyk(61%, 65.7%, 0%, 1.6%)
CIE-LABlab(47.26, 50.97, -80.71)
CIE-LCHlch(47.26, 95.46, 302.27°)
OKLaboklab(56.68% 0.0369 -0.2326)
OKLCHoklch(56.68% 0.236 279)
XYZxyz(25.7718, 16.2153, 93.0199)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256FB #EFFB56
analogous
#569CFB #6256FB #B556FB
triadic
#6256FB #FB6256 #56FB62
tetradic
#6256FB #FB569C #EFFB56 #56FBB5
square
#6256FB #FB569C #EFFB56 #56FBB5
split-complementary
#6256FB #FBB556 #9CFB56
monochromatic
#1405D2 #2A1AFA #6256FB #9A92FC #D1CEFE

Accessibility & contrast

On white

4.95
#6256FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6256FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256FB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256FB#FFFFFF#000000##FFFFFF
##6256FB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0069F8
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6256fb;
/* rgb */ color: rgb(98, 86, 251);
/* oklch */ color: oklch(56.7% 0.236 279.0);
Tailwind
colors: {
  custom: {
    50: '#9e87fe',
    500: '#6256fb',
    950: '#000000',
  },
}
SCSS
$custom: #6256fb;
$custom-light: #9e87fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6256fb",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 244.364,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.23553,
    "h": 279
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#6256FB
secondary
#EEF2BB
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6256FB

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

Preview Lab → · Contrast checker → · Palette generator →

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