#6256EA#6256EA

#6256EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.215 H 280.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6256EA
RGBrgb(98, 86, 234)
HSLhsl(245, 78%, 63%)
HSVhsv(245, 63%, 92%)
CMYKcmyk(58.1%, 63.2%, 0%, 8.2%)
CIE-LABlab(45.89, 45.74, -73.41)
CIE-LCHlch(45.89, 86.49, 301.93°)
OKLaboklab(55.27% 0.0386 -0.2112)
OKLCHoklch(55.27% 0.215 280.4)
XYZxyz(23.2114, 15.1911, 79.5350)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256EA #DEEA56
analogous
#5694EA #6256EA #AC56EA
triadic
#6256EA #EA6256 #56EA62
tetradic
#6256EA #EA5694 #DEEA56 #56EAAC
square
#6256EA #EA5694 #DEEA56 #56EAAC
split-complementary
#6256EA #EAAC56 #94EA56
monochromatic
#2216B0 #2F20E3 #6256EA #958CF1 #C7C3F8

Accessibility & contrast

On white

5.20
#6256EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6256EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256EA#FFFFFF#000000##FFFFFF
##6256EA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6256ea;
/* rgb */ color: rgb(98, 86, 234);
/* oklch */ color: oklch(55.3% 0.215 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b86f2',
    500: '#6256ea',
    950: '#000000',
  },
}
SCSS
$custom: #6256ea;
$custom-light: #9b86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ea",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 244.865,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.21469,
    "h": 280.4
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#6256EA
secondary
#E4E9B3
accent
#DA0BC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6256EA

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

Preview Lab → · Contrast checker → · Palette generator →

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