#6256F3#6256F3

#6256F3 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.0% C 0.226 H 279.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6256F3
RGBrgb(98, 86, 243)
HSLhsl(245, 87%, 65%)
HSVhsv(245, 65%, 95%)
CMYKcmyk(59.7%, 64.6%, 0%, 4.7%)
CIE-LABlab(46.61, 48.51, -77.30)
CIE-LCHlch(46.61, 91.26, 302.11°)
OKLaboklab(56.01% 0.0378 -0.2226)
OKLCHoklch(56.01% 0.226 279.6)
XYZxyz(24.5373, 15.7215, 86.5182)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256F3 #E7F356
analogous
#5699F3 #6256F3 #B156F3
triadic
#6256F3 #F36256 #56F362
tetradic
#6256F3 #F35699 #E7F356 #56F3B1
square
#6256F3 #F35699 #E7F356 #56F3B1
split-complementary
#6256F3 #F3B156 #99F356
monochromatic
#1B0EC1 #2D1DEF #6256F3 #978FF7 #CCC8FB

Accessibility & contrast

On white

5.07
#6256F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6256F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256F3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256F3#FFFFFF#000000##FFFFFF
##6256F31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#0068F0
Tritanopia (blue-blind)
#007E9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6256f3;
/* rgb */ color: rgb(98, 86, 243);
/* oklch */ color: oklch(56.0% 0.226 279.6);
Tailwind
colors: {
  custom: {
    50: '#9d87f8',
    500: '#6256f3',
    950: '#000000',
  },
}
SCSS
$custom: #6256f3;
$custom-light: #9d87f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6256f3",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 244.586,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.2258,
    "h": 279.6
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#6256F3
secondary
#E9EDB7
accent
#E302D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6256F3

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

Preview Lab → · Contrast checker → · Palette generator →

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