#6256E5#6256E5

#6256E5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.208 H 280.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6256E5
RGBrgb(98, 86, 229)
HSLhsl(245, 73%, 62%)
HSVhsv(245, 62%, 90%)
CMYKcmyk(57.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(45.51, 44.20, -71.21)
CIE-LCHlch(45.51, 83.81, 301.83°)
OKLaboklab(54.87% 0.0391 -0.2047)
OKLCHoklch(54.87% 0.208 280.8)
XYZxyz(22.5032, 14.9079, 75.8052)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256E5 #D9E556
analogous
#5692E5 #6256E5 #AA56E5
triadic
#6256E5 #E56256 #56E562
tetradic
#6256E5 #E55692 #D9E556 #56E5AA
square
#6256E5 #E55692 #D9E556 #56E5AA
split-complementary
#6256E5 #E5AA56 #92E556
monochromatic
#261AA7 #3122DC #6256E5 #938BED #C5C0F5

Accessibility & contrast

On white

5.27
#6256E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6256E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256E5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256E5#FFFFFF#000000##FFFFFF
##6256E51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#127996
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6256e5;
/* rgb */ color: rgb(98, 86, 229);
/* oklch */ color: oklch(54.9% 0.208 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a86ee',
    500: '#6256e5',
    950: '#000000',
  },
}
SCSS
$custom: #6256e5;
$custom-light: #9a86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6256e5",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 245.035,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.20843,
    "h": 280.8
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#6256E5
secondary
#E1E6B1
accent
#D510C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256E5

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

Preview Lab → · Contrast checker → · Palette generator →

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