#6256EE#6256EE

#6256EE is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.220 H 280.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6256EE
RGBrgb(98, 86, 238)
HSLhsl(245, 82%, 64%)
HSVhsv(245, 64%, 93%)
CMYKcmyk(58.8%, 63.9%, 0%, 6.7%)
CIE-LABlab(46.21, 46.97, -75.14)
CIE-LCHlch(46.21, 88.62, 302.01°)
OKLaboklab(55.6% 0.0383 -0.2163)
OKLCHoklch(55.6% 0.22 280)
XYZxyz(23.7925, 15.4236, 82.5956)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256EE #E2EE56
analogous
#5696EE #6256EE #AE56EE
triadic
#6256EE #EE6256 #56EE62
tetradic
#6256EE #EE5696 #E2EE56 #56EEAE
square
#6256EE #EE5696 #E2EE56 #56EEAE
split-complementary
#6256EE #EEAE56 #96EE56
monochromatic
#1F12B7 #2E1EE8 #6256EE #968EF4 #C9C5F9

Accessibility & contrast

On white

5.14
#6256EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6256EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256EE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256EE#FFFFFF#000000##FFFFFF
##6256EE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6256ee;
/* rgb */ color: rgb(98, 86, 238);
/* oklch */ color: oklch(55.6% 0.220 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c86f5',
    500: '#6256ee',
    950: '#000000',
  },
}
SCSS
$custom: #6256ee;
$custom-light: #9c86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ee",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 244.737,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.21965,
    "h": 280
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#6256EE
secondary
#E7EBB5
accent
#DE07CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6256EE

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

Preview Lab → · Contrast checker → · Palette generator →

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