#6256F1#6256F1

#6256F1 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.223 H 279.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6256F1
RGBrgb(98, 86, 241)
HSLhsl(245, 85%, 64%)
HSVhsv(245, 64%, 95%)
CMYKcmyk(59.3%, 64.3%, 0%, 5.5%)
CIE-LABlab(46.45, 47.90, -76.44)
CIE-LCHlch(46.45, 90.21, 302.07°)
OKLaboklab(55.84% 0.038 -0.2201)
OKLCHoklch(55.84% 0.223 279.8)
XYZxyz(24.2369, 15.6014, 84.9362)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256F1 #E5F156
analogous
#5698F1 #6256F1 #B056F1
triadic
#6256F1 #F16256 #56F162
tetradic
#6256F1 #F15698 #E5F156 #56F1B0
square
#6256F1 #F15698 #E5F156 #56F1B0
split-complementary
#6256F1 #F1B056 #98F156
monochromatic
#1D10BD #2D1DEC #6256F1 #978FF6 #CBC7FA

Accessibility & contrast

On white

5.10
#6256F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6256F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256F1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256F1#FFFFFF#000000##FFFFFF
##6256F11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6256f1;
/* rgb */ color: rgb(98, 86, 241);
/* oklch */ color: oklch(55.8% 0.223 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c87f7',
    500: '#6256f1',
    950: '#000000',
  },
}
SCSS
$custom: #6256f1;
$custom-light: #9c87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6256f1",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 244.645,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.22334,
    "h": 279.8
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#6256F1
secondary
#E8ECB6
accent
#E104D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6256F1

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

Preview Lab → · Contrast checker → · Palette generator →

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