#6256E4#6256E4

#6256E4 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.207 H 280.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6256E4
RGBrgb(98, 86, 228)
HSLhsl(245, 72%, 62%)
HSVhsv(245, 62%, 89%)
CMYKcmyk(57%, 62.3%, 0%, 10.6%)
CIE-LABlab(45.43, 43.89, -70.77)
CIE-LCHlch(45.43, 83.28, 301.81°)
OKLaboklab(54.79% 0.0391 -0.2034)
OKLCHoklch(54.79% 0.207 280.9)
XYZxyz(22.3640, 14.8522, 75.0720)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256E4 #D8E456
analogous
#5691E4 #6256E4 #A956E4
triadic
#6256E4 #E46256 #56E462
tetradic
#6256E4 #E45691 #D8E456 #56E4A9
square
#6256E4 #E45691 #D8E456 #56E4A9
split-complementary
#6256E4 #E4A956 #91E456
monochromatic
#261AA5 #3223DA #6256E4 #938BEC #C4C0F5

Accessibility & contrast

On white

5.29
#6256E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6256E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256E4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256E4#FFFFFF#000000##FFFFFF
##6256E41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#157995
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6256e4;
/* rgb */ color: rgb(98, 86, 228);
/* oklch */ color: oklch(54.8% 0.207 280.9);
Tailwind
colors: {
  custom: {
    50: '#9a86ed',
    500: '#6256e4',
    950: '#000000',
  },
}
SCSS
$custom: #6256e4;
$custom-light: #9a86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6256e4",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 245.07,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.20717,
    "h": 280.9
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#6256E4
secondary
#E1E5B0
accent
#D511C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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