#6256E8#6256E8

#6256E8 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.212 H 280.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6256E8
RGBrgb(98, 86, 232)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 63%, 91%)
CMYKcmyk(57.8%, 62.9%, 0%, 9%)
CIE-LABlab(45.74, 45.12, -72.53)
CIE-LCHlch(45.74, 85.42, 301.89°)
OKLaboklab(55.11% 0.0388 -0.2086)
OKLCHoklch(55.11% 0.212 280.5)
XYZxyz(22.9257, 15.0769, 78.0303)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256E8 #DCE856
analogous
#5693E8 #6256E8 #AB56E8
triadic
#6256E8 #E86256 #56E862
tetradic
#6256E8 #E85693 #DCE856 #56E8AB
square
#6256E8 #E85693 #DCE856 #56E8AB
split-complementary
#6256E8 #E8AB56 #93E856
monochromatic
#2417AC #3020E1 #6256E8 #948CEF #C6C2F7

Accessibility & contrast

On white

5.23
#6256E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6256E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256E8#FFFFFF#000000##FFFFFF
##6256E81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#067A97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6256e8;
/* rgb */ color: rgb(98, 86, 232);
/* oklch */ color: oklch(55.1% 0.212 280.5);
Tailwind
colors: {
  custom: {
    50: '#9b86f0',
    500: '#6256e8',
    950: '#000000',
  },
}
SCSS
$custom: #6256e8;
$custom-light: #9b86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6256e8",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 244.932,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.21219,
    "h": 280.5
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#6256E8
secondary
#E3E8B2
accent
#D80DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6256E8

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

Preview Lab → · Contrast checker → · Palette generator →

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