#6256E0#6256E0

#6256E0 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.202 H 281.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6256E0
RGBrgb(98, 86, 224)
HSLhsl(245, 69%, 61%)
HSVhsv(245, 62%, 88%)
CMYKcmyk(56.3%, 61.6%, 0%, 12.2%)
CIE-LABlab(45.13, 42.65, -69.00)
CIE-LCHlch(45.13, 81.12, 301.72°)
OKLaboklab(54.47% 0.0394 -0.1982)
OKLCHoklch(54.47% 0.202 281.2)
XYZxyz(21.8151, 14.6326, 72.1814)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256E0 #D4E056
analogous
#568FE0 #6256E0 #A756E0
triadic
#6256E0 #E06256 #56E062
tetradic
#6256E0 #E0568F #D4E056 #56E0A7
square
#6256E0 #E0568F #D4E056 #56E0A7
split-complementary
#6256E0 #E0A756 #8FE056
monochromatic
#281D9F #3527D2 #6256E0 #928AE9 #C2BDF3

Accessibility & contrast

On white

5.35
#6256E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6256E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256E0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256E0#FFFFFF#000000##FFFFFF
##6256E01.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#1E7893
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6256e0;
/* rgb */ color: rgb(98, 86, 224);
/* oklch */ color: oklch(54.5% 0.202 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a86eb',
    500: '#6256e0',
    950: '#000000',
  },
}
SCSS
$custom: #6256e0;
$custom-light: #9a86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6256e0",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 245.217,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.20211,
    "h": 281.2
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#6256E0
secondary
#DEE3AF
accent
#D115C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256E0

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

Preview Lab → · Contrast checker → · Palette generator →

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